Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Windows 7
Other
7 years ago
Test name Executions per second
indexOf 32833.2 Ops/sec
map new each pass 21792.5 Ops/sec
map cached 102508.1 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • map new each pass

  • map cached


;