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

Function main

benchmark/url/url-searchparams-toString.js:67–76  ·  view source on GitHub ↗
({ n, type, inputType })

Source from the content-addressed store, hash-verified

65});
66
67function main({ n, type, inputType }) {
68 const inputs = paramGenerator(inputType);
69 const input = inputs[type];
70 const u = new URLSearchParams(input);
71
72 bench.start();
73 for (let i = 0; i < n; i += 1)
74 u.toString();
75 bench.end(n);
76}

Callers

nothing calls this directly

Calls 4

toStringMethod · 0.95
paramGeneratorFunction · 0.70
startMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…