()
| 270 | } |
| 271 | |
| 272 | function main () { |
| 273 | cronometro( |
| 274 | experiments, |
| 275 | { |
| 276 | iterations, |
| 277 | errorThreshold, |
| 278 | print: false |
| 279 | }, |
| 280 | (err, results) => { |
| 281 | if (err) { |
| 282 | throw err |
| 283 | } |
| 284 | |
| 285 | printResults(results) |
| 286 | dispatcher.destroy() |
| 287 | } |
| 288 | ) |
| 289 | } |
| 290 | |
| 291 | if (isMainThread) { |
| 292 | main() |
no test coverage detected