0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/benchmark/process
Anna Henningsen 69906fbc52
benchmark,lib: add process.hrtime.bigint benchmark
Add a benchmark, and amend the relevant source code comment to state
that currently, switching to directly returning a BigInt is not
stopped by technical obstacles but rather the fact that using a typed
array is actually a bit faster (about 2.5 %, measured locally).

PR-URL: https://github.com/nodejs/node/pull/26381
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-03-05 23:23:53 +01:00
..
bench-env.js benchmark: (process) use destructuring 2018-01-23 01:29:22 +01:00
bench-hrtime.js benchmark,lib: add process.hrtime.bigint benchmark 2019-03-05 23:23:53 +01:00
memoryUsage.js benchmark: (process) use destructuring 2018-01-23 01:29:22 +01:00
next-tick-breadth-args.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
next-tick-breadth.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
next-tick-depth-args.js test: remove unused config 2018-08-02 22:33:51 -04:00
next-tick-depth.js test: remove unused config 2018-08-02 22:33:51 -04:00
next-tick-exec-args.js benchmark: track exec time in next-tick-exec 2018-05-06 07:29:47 +02:00
next-tick-exec.js benchmark: track exec time in next-tick-exec 2018-05-06 07:29:47 +02:00