Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
slice immutable 8604.5 Ops/sec
splice immutable 1337.5 Ops/sec
shift-while immutable 1338.5 Ops/sec
slice mutable 6873.2 Ops/sec
splice mutable 15703518.0 Ops/sec
shift-while mutable 14525158.0 Ops/sec
Script Preparation code:
Tests:
  • slice immutable

  • splice immutable

  • shift-while immutable

  • slice mutable

  • splice mutable

  • shift-while mutable