Run details:
Mozilla/5.0 (Linux; Android 11; Mi 10 Pro Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045613 Mobile Safari/537.36 MMWEBID/8538 MicroMessenger/8.0.3.1880(0x28000339) Process/tools WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64
QQ Browser Mobile 6
Android
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 16166.4 Ops/sec
Set length to zero 15811.8 Ops/sec
Splice 13273.3 Ops/sec
Pop all values 10508.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values