node/benchmark/esm
Joyee Cheung 23f56d8bb3 benchmark: rewrite import.meta benchmark
This is a ESM benchmark, rewrite it so that we are directly
benchmarking the ESM import.meta paths and using number of
loads for op/s calculation, instead of doing it in startup
benchmarks and nesting number of process/workers spawn
for op/s calculation.

PR-URL: https://github.com/nodejs/node/pull/50683
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
2023-11-29 09:45:22 -03:00
..
cjs-parse.js benchmark: use tmpdir.resolve() 2023-08-30 09:55:20 +00:00
detect-esm-syntax.js esm: detect ESM syntax in ambiguous JavaScript 2023-10-23 08:19:41 +02:00
esm-legacyMainResolve.js benchmark: use tmpdir.resolve() 2023-08-30 09:55:20 +00:00
esm-loader-defaultResolve.js benchmark: use tmpdir.resolve() 2023-08-30 09:55:20 +00:00
esm-loader-import.js test,benchmark: use tmpdir.fileURL() 2023-08-21 16:42:03 +00:00
import-meta.js benchmark: rewrite import.meta benchmark 2023-11-29 09:45:22 -03:00