mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 14:33:11 +01:00
4eeeab09f0
Syntax detection has been unflagged so it's no longer meaningful to toggle the detection based on CLI flags. It was also previously benchmarking cached module imports which isn't very meaningful for subsequent loads. This patch updates the benchmark to toggle the detection based on the presence of type field in the package.json, and generates fixtures to benchmark fresh module loads. PR-URL: https://github.com/nodejs/node/pull/55238 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> |
||
---|---|---|
.. | ||
cjs-parse.js | ||
detect-esm-syntax.js | ||
esm-legacyMainResolve.js | ||
esm-loader-defaultResolve.js | ||
esm-loader-import.js | ||
import-meta.js | ||
require-esm.js |