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

Function stop

benchmark/fs/readfile-partitioned.js:49–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 bench.start();
48
49 function stop() {
50 const totalOps = reads + zips;
51 bench.end(totalOps);
52
53 try {
54 fs.unlinkSync(filename);
55 } catch {
56 // Continue regardless of error.
57 }
58 }
59
60 function read() {
61 fs.readFile(filename, encoding, afterRead);

Callers 2

afterReadFunction · 0.70
afterZipFunction · 0.70

Calls 2

endMethod · 0.45
unlinkSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…