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

Function stop

benchmark/fs/readfile-permission-enabled.js:45–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 bench.start();
44
45 function stop() {
46 bench.end(reads);
47
48 try {
49 fs.unlinkSync(filename);
50 } catch {
51 // Continue regardless of error.
52 }
53
54 process.exit(0);
55 }
56
57 function read() {
58 fs.readFile(filename, encoding, afterRead);

Callers 1

afterReadFunction · 0.70

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…