Test name | Executions per second |
---|---|
For Loop for item towards beginning | 14515076.0 Ops/sec |
While Loop for item towards beginning | 14624481.0 Ops/sec |
indexOf for item towards beginning | 15920357.0 Ops/sec |
For Loop for item towards end | 11046525.0 Ops/sec |
While Loop for item towards end | 11057376.0 Ops/sec |
indexOf for item towards end | 16085073.0 Ops/sec |