Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Chrome 78
Windows
Desktop
5 years ago
Test name Executions per second
800/1000 - map + find iterate on ids 112.5 Ops/sec
800/1000 - reduce + includes iterate on all 1081.2 Ops/sec
800/1000 - filter + includes iterate on all 915.5 Ops/sec
200/1000 - map + find iterate on ids 441.3 Ops/sec
200/1000 - reduce + includes iterate on all 2281.0 Ops/sec
200/1000 - filter + includes iterate on all 2395.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