Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53
Windows 7
Other
8 years ago
Test name Executions per second
arr.filter 673301.6 Ops/sec
for 1651084.8 Ops/sec
arr.reduce 1253792.5 Ops/sec
regex 460196.5 Ops/sec
indexOf 1379728.4 Ops/sec
Tests:
  • arr.filter

  • for

  • arr.reduce

  • regex

  • indexOf


;