Commit 97e32c7
lib: avoid quadratic shift() in startup snapshot callback
PR-URL: #62914
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent 3e10365 commit 97e32c7Copy full SHA for 97e32c7
2 files changed
+67-6Lines changed: 67 additions & 6 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- benchmark/v8
- lib/internal/v8
Expand file treeCollapse file tree
Open diff view settings
Collapse file
benchmark/v8/startup-snapshot-callbacks.js
Copy file name to clipboard+58Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
Collapse file
lib/internal/v8/startup_snapshot.js
Copy file name to clipboardExpand all lines: lib/internal/v8/startup_snapshot.js+9-6Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
41 | | - |
| 40 | + |
| 41 | + |
42 | 42 | |
43 | 43 | |
| 44 | + |
44 | 45 | |
45 | 46 | |
46 | 47 | |
| ||
60 | 61 | |
61 | 62 | |
62 | 63 | |
63 | | - |
64 | | - |
| 64 | + |
| 65 | + |
65 | 66 | |
66 | 67 | |
67 | | - |
68 | | - |
| 68 | + |
| 69 | + |
| 70 | + |
69 | 71 | |
70 | 72 | |
| 73 | + |
71 | 74 | |
72 | 75 | |
73 | 76 | |
|
0 commit comments