({ method, n })
| 16 | }); |
| 17 | |
| 18 | function main({ method, n }) { |
| 19 | switch (method) { |
| 20 | case 'ELU_simple': |
| 21 | benchELUSimple(n); |
| 22 | break; |
| 23 | case 'ELU_passed': |
| 24 | benchELUPassed(n); |
| 25 | break; |
| 26 | default: |
| 27 | throw new Error(`Unsupported method ${method}`); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | function benchELUSimple(n) { |
| 32 | const worker = new Worker(__filename, { argv: ['idle cats'] }); |
nothing calls this directly
no test coverage detected
searching dependent graphs…