(length)
| 5 | |
| 6 | const suite = new Benchmark.Suite(); |
| 7 | function createInput(length) { |
| 8 | return "`" + " ${0}".repeat(length) + "`"; |
| 9 | } |
| 10 | function benchCases(name, implementation, options) { |
| 11 | for (const length of [128, 256, 512, 1024]) { |
| 12 | const input = createInput(length); |
no outgoing calls
no test coverage detected