Commit a80452a
test: add test-benchmark-napi
Also makes sure that the napi benchmark is built before running jstest.
Skipped on windows since n-api benchmarks aren't built there yet.
PR-URL: #23585
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent aaddf97 commit a80452aCopy full SHA for a80452a
File tree
Expand file treeCollapse file tree
3 files changed
+33
-7
lines changedOpen diff view settings
Filter options
- benchmark/napi/function_args
- test/sequential
Expand file treeCollapse file tree
3 files changed
+33
-7
lines changedOpen diff view settings
Collapse file
+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
270 | 270 | |
271 | 271 | |
272 | 272 | |
273 | | - |
| 273 | + |
274 | 274 | |
275 | 275 | |
276 | 276 | |
| ||
414 | 414 | |
415 | 415 | |
416 | 416 | |
417 | | - |
| 417 | + |
418 | 418 | |
419 | 419 | |
420 | 420 | |
| ||
444 | 444 | |
445 | 445 | |
446 | 446 | |
447 | | - |
| 447 | + |
448 | 448 | |
449 | 449 | |
450 | 450 | |
| ||
455 | 455 | |
456 | 456 | |
457 | 457 | |
458 | | - |
| 458 | + |
459 | 459 | |
460 | 460 | |
461 | 461 | |
| ||
496 | 496 | |
497 | 497 | |
498 | 498 | |
499 | | - |
| 499 | + |
500 | 500 | |
501 | 501 | |
502 | 502 | |
|
Collapse file
benchmark/napi/function_args/napi_binding.c
Copy file name to clipboardExpand all lines: benchmark/napi/function_args/napi_binding.c+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
| 54 | + |
54 | 55 | |
55 | 56 | |
56 | 57 | |
| ||
173 | 174 | |
174 | 175 | |
175 | 176 | |
176 | | - |
| 177 | + |
| 178 | + |
177 | 179 | |
178 | 180 | |
179 | 181 | |
|
Collapse file
test/sequential/test-benchmark-napi.js
Copy file name to clipboard+24Lines changed: 24 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 | + |
0 commit comments