Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104
Ubuntu
Desktop
one year ago
Test name Executions per second
Push item to an array 74207.3 Ops/sec
Append an item by spread 121.5 Ops/sec
Direct assign an item to an initialized array 86452.3 Ops/sec
Script Preparation code:
Tests:
  • Push item to an array

  • Append an item by spread

  • Direct assign an item to an initialized array