Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36
Chrome 69
Windows
Desktop
6 years ago
Test name Executions per second
800/1000 - map + find iterate on ids 156.7 Ops/sec
800/1000 - reduce + includes iterate on all 1346.7 Ops/sec
800/1000 - filter + includes iterate on all 1343.3 Ops/sec
200/1000 - map + find iterate on ids 602.3 Ops/sec
200/1000 - reduce + includes iterate on all 2852.0 Ops/sec
200/1000 - filter + includes iterate on all 2840.3 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