Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Windows
Desktop
2 years ago
Benchmark.js
one big loop default
3K/s
one big loop no consts
3K/s
View exact numbers
| Test name |
Executions per second |
|
✓
one big loop default
|
3,145 Ops/sec |
|
one big loop no consts
|
3,072 Ops/sec |
|
small loops
|
2,410 Ops/sec |
|
small loops where
|
412 Ops/sec |
Tests:
-
one big loop default
-
one big loop no consts
-
small loops
-
small loops where