(N)
| 101 | } |
| 102 | |
| 103 | function clear(N) { |
| 104 | N *= 4; |
| 105 | bench.start(); |
| 106 | function cb(a1) { |
| 107 | if (a1 === 2) |
| 108 | bench.end(N); |
| 109 | } |
| 110 | for (let i = 0; i < N; i++) { |
| 111 | clearImmediate(setImmediate(cb, 1)); |
| 112 | } |
| 113 | setImmediate(cb, 2); |
| 114 | } |
no test coverage detected
searching dependent graphs…