Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Chrome 58
Windows
Other
7 years ago
Test name Executions per second
800/1000 - map + find iterate on ids 68.6 Ops/sec
800/1000 - reduce + includes iterate on all 1097.8 Ops/sec
800/1000 - filter + includes iterate on all 1150.3 Ops/sec
200/1000 - map + find iterate on ids 263.7 Ops/sec
200/1000 - reduce + includes iterate on all 2213.1 Ops/sec
200/1000 - filter + includes iterate on all 2428.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • 800/1000 - map + find iterate on ids

  • 800/1000 - reduce + includes iterate on all

  • 800/1000 - filter + includes iterate on all

  • 200/1000 - map + find iterate on ids

  • 200/1000 - reduce + includes iterate on all

  • 200/1000 - filter + includes iterate on all