({ api, type, n })
| 18 | }); |
| 19 | |
| 20 | function main({ api, type, n }) { |
| 21 | switch (api) { |
| 22 | case 'classic': |
| 23 | return benchClassic(type, n); |
| 24 | case 'webstream': |
| 25 | return benchWebStream(type, n); |
| 26 | case 'iter': |
| 27 | return benchIter(type, n); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | function benchClassic(type, n) { |
| 32 | let tmp; |
nothing calls this directly
no test coverage detected
searching dependent graphs…