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 1337239.0 Ops/sec
Create packed (push) 7470.7 Ops/sec
Create packed (assign) 8410.6 Ops/sec
Read holey 6799306.0 Ops/sec
Read packed 6726923.0 Ops/sec
Read object 6822180.5 Ops/sec
Read value 6834994.0 Ops/sec
Math 899161792.0 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