Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62
Chrome 96
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
filter small 6000264.0 Ops/sec
slice small 3674036.5 Ops/sec
filter medium 2020241.0 Ops/sec
slice medium 1692988.0 Ops/sec
filter large 252862.2 Ops/sec
slice large 289823.1 Ops/sec
filter xlarge 30576.8 Ops/sec
slice xlarge 33604.5 Ops/sec
filter xxlarge 1500.3 Ops/sec
slice xxlarge 1366.7 Ops/sec
filter xxxlarge 104.6 Ops/sec
slice xxxlarge 143.2 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


;