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

Function doIsTraceCategoryEnabled

benchmark/misc/trace.js:28–35  ·  view source on GitHub ↗
(n, isTraceCategoryEnabled)

Source from the content-addressed store, hash-verified

26}
27
28function doIsTraceCategoryEnabled(n, isTraceCategoryEnabled) {
29 bench.start();
30 for (let i = 0; i < n; i++) {
31 isTraceCategoryEnabled('foo');
32 isTraceCategoryEnabled('bar');
33 }
34 bench.end(n);
35}
36
37function main({ n, method }) {
38 const {

Callers 1

mainFunction · 0.85

Calls 2

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…