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

Function load

benchmark/esm/import-meta.js:17–23  ·  view source on GitHub ↗
(n, fixtureFileURL)

Source from the content-addressed store, hash-verified

15});
16
17async function load(n, fixtureFileURL) {
18 const array = [];
19 for (let i = 0; i < n; i++) {
20 array[i] = await import(`${fixtureFileURL}?i=${i}`);
21 }
22 return array;
23}
24
25function main({ n, valuesToRead }) {
26 const fixtureDir = path.resolve(__filename, '../../fixtures');

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…