Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Chrome 98
Windows
Desktop
2 years ago
Test name Executions per second
filter small 6264793.5 Ops/sec
slice small 3942460.2 Ops/sec
filter medium 2122745.2 Ops/sec
slice medium 1665354.2 Ops/sec
filter large 193373.9 Ops/sec
slice large 240473.0 Ops/sec
filter xlarge 26109.9 Ops/sec
slice xlarge 31163.4 Ops/sec
filter xxlarge 1466.0 Ops/sec
slice xxlarge 1312.0 Ops/sec
filter xxxlarge 103.0 Ops/sec
slice xxxlarge 128.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


;