Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Chrome OS 14541.0.0
Desktop
6 months ago
Test name Executions per second
.unshift() 19256.2 Ops/sec
.push() 11429569.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()