Test name | Executions per second |
---|---|
indexOf first | 17736382.0 Ops/sec |
$.inArray first | 4760058.5 Ops/sec |
indexOf last | 17870188.0 Ops/sec |
$.inArray last | 799967.5 Ops/sec |
indexOf middle | 17763084.0 Ops/sec |
$.inArray middle | 1359301.9 Ops/sec |
indexOf | 5946600.0 Ops/sec |
$.inArray | 445565.2 Ops/sec |