Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Chrome 90
Mac OS X 10.14.6
Desktop
3 years ago
Test name Executions per second
Create holey 1433775.5 Ops/sec
Create packed (push) 7908.7 Ops/sec
Create packed (assign) 8528.0 Ops/sec
Read holey 7265868.0 Ops/sec
Read packed 7151227.5 Ops/sec
Read object 7164713.0 Ops/sec
Read value 7175326.0 Ops/sec
Math 928737920.0 Ops/sec
Create empty 11711461.0 Ops/sec
Create empty, set length 1307566.4 Ops/sec
Script Preparation code:
Tests:
  • Create holey

  • Create packed (push)

  • Create packed (assign)

  • Read holey

  • Read packed

  • Read object

  • Read value

  • Math

  • Create empty

  • Create empty, set length

  • Create empty, set last

  • Create holey, fill