Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
Chrome 93
Windows
Desktop
3 years ago
Test name Executions per second
filter small 5275024.0 Ops/sec
slice small 3706541.2 Ops/sec
filter medium 1909815.4 Ops/sec
slice medium 1586799.9 Ops/sec
filter large 242883.5 Ops/sec
slice large 280886.5 Ops/sec
filter xlarge 25843.2 Ops/sec
slice xlarge 29515.0 Ops/sec
filter xxlarge 1242.0 Ops/sec
slice xxlarge 1052.2 Ops/sec
filter xxxlarge 88.3 Ops/sec
slice xxxlarge 108.1 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


;