()
| 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); |
no test coverage detected
searching dependent graphs…