Array pop vs at

Comparing pop-push method vs last index check for an array element
one month ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Test name Executions per second
pop 4510980.0 Ops/sec
at 4502608.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • at

Open this result on MeasureThat.net