Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55
Chrome 92
Windows
Desktop
3 years ago
Test name Executions per second
filter small 3390993.5 Ops/sec
slice small 2200544.5 Ops/sec
filter medium 1244279.5 Ops/sec
slice medium 1138735.6 Ops/sec
filter large 170232.2 Ops/sec
slice large 204038.3 Ops/sec
filter xlarge 19492.8 Ops/sec
slice xlarge 24074.2 Ops/sec
filter xxlarge 671.4 Ops/sec
slice xxlarge 574.4 Ops/sec
filter xxxlarge 47.2 Ops/sec
slice xxxlarge 62.6 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


;