GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — src: cut small costs in node::MakeCallback by nigrosimone · Pull Request #66395 · nodejs/node Conversation
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #66395 +/- ## ========================================== + Coverage 90.35% 90.38% +0.03% ========================================== Files 792 792 Lines 275500 275592 +92 Branches 52791 52848 +57 ========================================== + Hits 248932 249105 +173 + Misses 16992 16893 -99 - Partials 9576 9594 +18
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Benchmark GHA (napi / make_callback): https://github.com/nodejs/node/actions/runs/36693603945 Results
Benchmark results:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Enter the Environment's context only when it is not already the entered and current one, set the async context frame only when it changes, pass the resource variant to push_async_context() by const reference, and grow and shrink the native resource stack with push_back() and pop_back() instead of resize(). Refs: nodejs/performance#24 Signed-off-by: Nigro Simone <[email protected]>
4667f95 to
8acef08
Compare
There was an error while loading. Please reload this page.
@addaleax The GHA benchmark could not load the binding ("Binding failed to load" in every job): the workflow runs make build-ci but never make bench-addons-build, so no napi/* benchmark can run there. The table in the description is benchmark/compare.js on my machine. fixed in: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The GHA benchmark never built the addons of benchmark/napi, and its --debug-node build made benchmark/common.js look for them in build/Debug. Build them when the napi category runs, and pick the build type as test/common does. Refs: nodejs#66395 Signed-off-by: Nigro Simone <[email protected]>
The GHA benchmark never built the addons of benchmark/napi, and its --debug-node build made benchmark/common.js look for them in build/Debug. Build them when the napi category runs, and pick the build type as test/common does. Refs: nodejs#66395 Signed-off-by: Nigro Simone <[email protected]>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The GHA benchmark never built the addons of benchmark/napi, and its --debug-node build made benchmark/common.js look for them in build/Debug. Build them when the napi category runs, and pick the build type as test/common does. Refs: #66395 Signed-off-by: Nigro Simone <[email protected]> PR-URL: #66423 Reviewed-By: Antoine du Hamel <[email protected]>
There was an error while loading. Please reload this page.
|
Benchmark GHA (napi / make_callback): https://github.com/nodejs/node/actions/runs/38123439742 Results
Benchmark results:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The GHA benchmark never built the addons of benchmark/napi, and its --debug-node build made benchmark/common.js look for them in build/Debug. Build them when the napi category runs, and pick the build type as test/common does. Refs: nodejs#66395 Signed-off-by: Nigro Simone <[email protected]> PR-URL: nodejs#66423 Reviewed-By: Antoine du Hamel <[email protected]>
|
FYI the benchmark shows no confidence in the results. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes, on GHA the accuracy is ±17% for a change of 8-13%, so it cannot say. On my machine, 30 runs, it is *** with ±3-6% (table in the description). Could someone run it on the Jenkins benchmark machine? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The GHA benchmark never built the addons of benchmark/napi, and its --debug-node build made benchmark/common.js look for them in build/Debug. Build them when the napi category runs, and pick the build type as test/common does. Refs: #66395 Signed-off-by: Nigro Simone <[email protected]> PR-URL: #66423 Reviewed-By: Antoine du Hamel <[email protected]>
The GHA benchmark never built the addons of benchmark/napi, and its --debug-node build made benchmark/common.js look for them in build/Debug. Build them when the napi category runs, and pick the build type as test/common does. Refs: #66395 Signed-off-by: Nigro Simone <[email protected]> PR-URL: #66423 Reviewed-By: Antoine du Hamel <[email protected]>
The GHA benchmark never built the addons of benchmark/napi, and its --debug-node build made benchmark/common.js look for them in build/Debug. Build them when the napi category runs, and pick the build type as test/common does. Refs: #66395 Signed-off-by: Nigro Simone <[email protected]> PR-URL: #66423 Reviewed-By: Antoine du Hamel <[email protected]>
|
@addaleax you added needs-benchmark-ci: could someone run the Jenkins benchmark job, category napi, filter make_callback? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in 5a566ac |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Enter the Environment's context only when it is not already the entered and current one, set the async context frame only when it changes, pass the resource variant to push_async_context() by const reference, and grow and shrink the native resource stack with push_back() and pop_back() instead of resize(). Refs: nodejs/performance#24 Signed-off-by: Nigro Simone <[email protected]> PR-URL: #66395 Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Signed-off-by: Nigro Simone <[email protected]>
Enter the Environment's context only when it is not already the entered and current one, set the async context frame only when it changes, pass the resource variant to push_async_context() by const reference, and grow and shrink the native resource stack with push_back() and pop_back() instead of resize(). Refs: nodejs/performance#24 Signed-off-by: Nigro Simone <[email protected]> PR-URL: nodejs#66395 Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.