Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102
Windows
Desktop
2 years ago
Test name Executions per second
filter small 3924456.2 Ops/sec
slice small 2688039.5 Ops/sec
filter medium 1464303.4 Ops/sec
slice medium 1246141.4 Ops/sec
filter large 191636.8 Ops/sec
slice large 221600.9 Ops/sec
filter xlarge 22831.8 Ops/sec
slice xlarge 24976.1 Ops/sec
filter xxlarge 761.9 Ops/sec
slice xxlarge 644.6 Ops/sec
filter xxxlarge 57.0 Ops/sec
slice xxxlarge 72.9 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


;