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

Function stop

benchmark/fs/writefile-promises.js:56–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 bench.start();
55
56 function stop() {
57 bench.end(writes);
58
59 for (let i = 0; i < filesWritten; i++) {
60 try {
61 fs.unlinkSync(`${filename}-${i}`);
62 } catch {
63 // Continue regardless of error.
64 }
65 }
66
67 process.exit(0);
68 }
69
70 function write() {
71 fs.promises

Callers 1

afterWriteFunction · 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…