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 383406.6 Ops/sec
filter ts n=10000 42157.8 Ops/sec
filter ts n=100000 3020.8 Ops/sec
filter ts n=1000000 238.4 Ops/sec
filter ts n=10000000 16.4 Ops/sec
filter js n=1000 442925.8 Ops/sec
filter js n=10000 49213.2 Ops/sec
filter js n=100000 3458.8 Ops/sec
filter js n=1000000 276.3 Ops/sec
filter js n=10000000 19.1 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