Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 YaBrowser/22.1.0.2588 Yowser/2.5 Safari/537.36
Yandex Browser 22
Mac OS X 10.14.6
Desktop
2 years ago
Test name Executions per second
pop 8166888.5 Ops/sec
shift 8634352.0 Ops/sec
length 4569706.5 Ops/sec
reassignment 5369265.5 Ops/sec
.splice(0) 1112912.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;