node/benchmark/fixtures/import-meta-dirname-and-filename.mjs
Joyee Cheung 53ee03868f benchmark: focus on import.meta intialization in import-meta benchmark
Instead of measuring the performance of the entire module
initialization, focus only on the import.meta initialization.

PR-URL: https://github.com/nodejs/node/pull/60603
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
2025-11-08 16:33:34 +00:00

2 lines
68 B
JavaScript

export default () => [ import.meta.dirname, import.meta.filename ];