Commit d5158a0
benchmark: focus on import.meta intialization in import-meta benchmark
Instead of measuring the performance of the entire module
initialization, focus only on the import.meta initialization.
PR-URL: #60603
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>1 parent 815edb0 commit d5158a0Copy full SHA for d5158a0
File tree
Expand file treeCollapse file tree
5 files changed
+32
-16
lines changedOpen diff view settings
Filter options
- benchmark
- esm
- fixtures
Expand file treeCollapse file tree
5 files changed
+32
-16
lines changedOpen diff view settings
Collapse file
benchmark/esm/import-meta.js
Copy file name to clipboardExpand all lines: benchmark/esm/import-meta.js+28-12Lines changed: 28 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
| 13 | + |
13 | 14 | |
14 | 15 | |
15 | 16 | |
16 | | - |
17 | | - |
18 | | - |
| 17 | + |
| 18 | + |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
| 26 | + |
| 27 | + |
| 28 | + |
30 | 29 | |
31 | | - |
32 | | - |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
33 | 36 | |
34 | | - |
35 | | - |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
36 | 52 | |
37 | 53 | |
Collapse file
benchmark/fixtures/import-meta-dirname-and-filename.mjs
Copy file name to clipboard+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | | - |
| 1 | + |
Collapse file
benchmark/fixtures/import-meta-dirname.mjs
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
Collapse file
benchmark/fixtures/import-meta-filename.mjs
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
Collapse file
benchmark/fixtures/import-meta-url.mjs
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
0 commit comments