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

Function main

benchmark/buffers/buffer-normalize-encoding.js:30–38  ·  view source on GitHub ↗
({ encoding, n })

Source from the content-addressed store, hash-verified

28});
29
30function main({ encoding, n }) {
31 const { normalizeEncoding } = require('internal/util');
32
33 bench.start();
34 for (let i = 0; i < n; i++) {
35 normalizeEncoding(encoding);
36 }
37 bench.end(n);
38}

Callers

nothing calls this directly

Calls 4

normalizeEncodingFunction · 0.85
requireFunction · 0.50
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…