Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Linux
Desktop
7 months ago
Test name Executions per second
Push item to an array 7185.5 Ops/sec
Append an item by spread 1382.6 Ops/sec
Direct assign an item to an initialized array 7207.5 Ops/sec
Script Preparation code:
Tests:
  • Push item to an array

  • Append an item by spread

  • Direct assign an item to an initialized array