Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
filter small 4371875.0 Ops/sec
slice small 2771319.0 Ops/sec
filter medium 1546576.6 Ops/sec
slice medium 1235384.1 Ops/sec
filter large 195724.2 Ops/sec
slice large 211624.9 Ops/sec
filter xlarge 20887.1 Ops/sec
slice xlarge 22656.8 Ops/sec
filter xxlarge 813.0 Ops/sec
slice xxlarge 701.6 Ops/sec
filter xxxlarge 53.6 Ops/sec
slice xxxlarge 67.8 Ops/sec
Script Preparation code:
Tests:
  • filter small

  • slice small

  • filter medium

  • slice medium

  • filter large

  • slice large

  • filter xlarge

  • slice xlarge

  • filter xxlarge

  • slice xxlarge

  • filter xxxlarge

  • slice xxxlarge


;