Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104
Windows
Desktop
2 years ago
Test name Executions per second
Create holey 120976.5 Ops/sec
Create packed (push) 50176.6 Ops/sec
Create packed (assign) 53130.1 Ops/sec
Read holey 532384800.0 Ops/sec
Read packed 512848032.0 Ops/sec
Read object 527832032.0 Ops/sec
Read value 476539648.0 Ops/sec
Math 1022253504.0 Ops/sec
Create empty 63232652.0 Ops/sec
Create empty, set length 20049850.0 Ops/sec
Create empty, set last 107182.9 Ops/sec
Create holey, fill 71540.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