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

Function stop

benchmark/fs/readfile.js:42–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 function stop() {
43 bench.end(reads);
44
45 try {
46 fs.unlinkSync(filename);
47 } catch {
48 // Continue regardless of error.
49 }
50
51 process.exit(0);
52 }
53
54 function afterRead(er, data) {
55 if (er) {

Callers 7

afterReadFunction · 0.70
testHookFunction · 0.50
simpleResolveRejectFunction · 0.50

Calls 3

endMethod · 0.45
unlinkSyncMethod · 0.45
exitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…