Run details:
Mozilla/5.0 (Linux; Android 5.0.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
Chrome 91
Android 5.0.2
Desktop
3 years ago
Test name Executions per second
recursion 44702.1 Ops/sec
while loop 213831.9 Ops/sec
for loop 193958.2 Ops/sec
recurse (tail) 39883.1 Ops/sec
Script Preparation code:
Tests:
  • recursion

  • while loop

  • for loop

  • recurse (tail)