Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Windows
Desktop
3 years ago
Test name Executions per second
filter ts n=1000 363635.1 Ops/sec
filter ts n=10000 41045.4 Ops/sec
filter ts n=100000 3005.4 Ops/sec
filter ts n=1000000 115.8 Ops/sec
filter ts n=10000000 14.8 Ops/sec
filter js n=1000 464981.1 Ops/sec
filter js n=10000 10340.3 Ops/sec
filter js n=100000 3406.6 Ops/sec
filter js n=1000000 278.9 Ops/sec
filter js n=10000000 17.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • filter ts n=1000

  • filter ts n=10000

  • filter ts n=100000

  • filter ts n=1000000

  • filter ts n=10000000

  • filter js n=1000

  • filter js n=10000

  • filter js n=100000

  • filter js n=1000000

  • filter js n=10000000