Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Firefox 49
Windows 7
Other
7 years ago
Test name Executions per second
indexOf 57533.4 Ops/sec
map new each pass 30897.2 Ops/sec
map cached 118566.5 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • map new each pass

  • map cached


;