Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Windows
Desktop
2 years ago
Test name Executions per second
Create holey 823098.9 Ops/sec
Create packed (push) 7722.5 Ops/sec
Create packed (assign) 8670.7 Ops/sec
Read holey 5841804.0 Ops/sec
Read packed 5857409.0 Ops/sec
Read object 5824777.0 Ops/sec
Read value 5858743.5 Ops/sec
Math 1311696384.0 Ops/sec
Create empty 10044968.0 Ops/sec
Create empty, set length 833080.4 Ops/sec
Create empty, set last 605403.4 Ops/sec
Create holey, fill 337146.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