Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/19A404 [FBAN/FBIOS;FBDV/iPhone13,4;FBMD/iPhone;FBSN/iOS;FBSV/15.0.2;FBSS/3;FBID/phone;FBLC/ru_RU;FBOP/5]
Mobile Safari 15
iOS 15.0.2
Mobile
3 years ago
Test name Executions per second
recursion 1829980.0 Ops/sec
while loop 12101759.0 Ops/sec
for loop 11840229.0 Ops/sec
Script Preparation code:
Tests:
  • recursion

  • while loop

  • for loop