Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Chrome 88
Mac OS X 11.2.1
Desktop
3 years ago
Test name Executions per second
slice immutable 181.7 Ops/sec
splice immutable 127.6 Ops/sec
shift-while immutable 128.5 Ops/sec
slice mutable 188.4 Ops/sec
splice mutable 908.3 Ops/sec
shift-while mutable 615.6 Ops/sec
circular buffer 1129.2 Ops/sec
Script Preparation code:
Tests:
  • slice immutable

  • splice immutable

  • shift-while immutable

  • slice mutable

  • splice mutable

  • shift-while mutable

  • circular buffer


;