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 817072.4 Ops/sec
Create packed (push) 7432.8 Ops/sec
Create packed (assign) 8046.9 Ops/sec
Read holey 5807211.5 Ops/sec
Read packed 5841504.5 Ops/sec
Read object 5824969.5 Ops/sec
Read value 5861720.0 Ops/sec
Math 1311820800.0 Ops/sec
Create empty 10087038.0 Ops/sec
Create empty, set length 834902.1 Ops/sec
Create empty, set last 606046.2 Ops/sec
Create holey, fill 333682.9 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