MCPcopy Create free account
hub / github.com/nodejs/node / publishWithoutCheck

Function publishWithoutCheck

benchmark/diagnostics_channel/publish.js:44–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 };
43
44 const publishWithoutCheck = () => {
45 const data = createObj(objSize);
46 bench.start();
47 for (let i = 0; i < n; i++) {
48 channel.publish(data);
49 }
50 bench.end(n);
51 };
52
53 if (checkSubscribers) {
54 publishWithCheck();

Callers 1

mainFunction · 0.85

Calls 4

createObjFunction · 0.70
startMethod · 0.45
publishMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected