Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Chrome 79
Mac OS X 10.15.0
Desktop
4 years ago
Test name Executions per second
800/1000 - map + find iterate on ids 218.5 Ops/sec
800/1000 - reduce + includes iterate on all 1440.7 Ops/sec
800/1000 - filter + includes iterate on all 1474.3 Ops/sec
200/1000 - map + find iterate on ids 855.2 Ops/sec
200/1000 - reduce + includes iterate on all 3183.4 Ops/sec
200/1000 - filter + includes iterate on all 3274.6 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