Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
filter ts n=1000 385376.3 Ops/sec
filter ts n=10000 42826.8 Ops/sec
filter ts n=100000 3119.7 Ops/sec
filter ts n=1000000 260.5 Ops/sec
filter ts n=10000000 17.9 Ops/sec
filter js n=1000 470575.9 Ops/sec
filter js n=10000 52522.8 Ops/sec
filter js n=100000 3609.6 Ops/sec
filter js n=1000000 304.7 Ops/sec
filter js n=10000000 20.9 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