Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Chrome 52
Mac OS X 10.11.3
Other
8 years ago
Test name Executions per second
arr.filter 769417.9 Ops/sec
for 1525119.9 Ops/sec
arr.reduce 1237785.4 Ops/sec
regex 593957.0 Ops/sec
indexOf 1200693.5 Ops/sec
Tests:
  • arr.filter

  • for

  • arr.reduce

  • regex

  • indexOf


;