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 1406270.5 Ops/sec
Create packed (push) 7743.2 Ops/sec
Create packed (assign) 8516.9 Ops/sec
Read holey 6812701.0 Ops/sec
Read packed 6869209.0 Ops/sec
Read object 6779957.0 Ops/sec
Read value 6844781.5 Ops/sec
Math 923847040.0 Ops/sec
Create empty 11715852.0 Ops/sec
Create empty, set length 1296313.5 Ops/sec
Create empty, set last 1013510.9 Ops/sec
Create holey, fill 334242.8 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