Run details:
Mozilla/5.0 (Linux; Android 10; Nokia 6.1 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
Push Data in Array via push method 8994.5 Ops/sec
Push Data in Array via spread operator 262.4 Ops/sec
Script Preparation code:
Tests:
  • Push Data in Array via push method

  • Push Data in Array via spread operator