Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/18H17 [FBAN/FBIOS;FBDV/iPhone12,1;FBMD/iPhone;FBSN/iOS;FBSV/14.8;FBSS/2;FBID/phone;FBLC/zh_TW;FBOP/5]
Mobile Safari 14
iOS 14.8
Mobile
3 years ago
Test name Executions per second
recursion 1274360.0 Ops/sec
while loop 7877423.0 Ops/sec
for loop 7751337.5 Ops/sec
Script Preparation code:
Tests:
  • recursion

  • while loop

  • for loop