()
| 251 | } |
| 252 | |
| 253 | start() { |
| 254 | if (this._started) { |
| 255 | throw new Error('Called start more than once in a single benchmark'); |
| 256 | } |
| 257 | this._started = true; |
| 258 | this._time = process.hrtime.bigint(); |
| 259 | } |
| 260 | |
| 261 | end(operations) { |
| 262 | // Get elapsed time now and do error checking later for accuracy. |
no outgoing calls
no test coverage detected