MCPcopy Index your code
hub / github.com/nodejs/node / setup

Function setup

benchmark/esm/import-cjs.js:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 type: ['cold', 'warm'],
15}, {
16 setup() {
17 tmpdir.refresh();
18 fs.cpSync(fixtureFile, tmpdir.resolve(`imported-cjs-initial.js`));
19 for (let i = 0; i < runs; i++) {
20 fs.cpSync(fixtureFile, tmpdir.resolve(`imported-cjs-${i}.js`));
21 }
22 },
23});
24
25async function main({ type }) {

Callers

nothing calls this directly

Calls 2

refreshMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected