Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:62.0) Gecko/20100101 Firefox/62.0
Firefox 62
Mac OS X 10.13
Desktop
6 years ago
Test name Executions per second
tail-end recursion (ascending) 5562086.5 Ops/sec
iterative (descending) 6387704.0 Ops/sec
iterative (descending) #2 25096340.0 Ops/sec
iterative (descending) #3 25581860.0 Ops/sec
iterative (descending) #4 25503508.0 Ops/sec
Script Preparation code:
Tests:
  • tail-end recursion (ascending)

  • iterative (descending)

  • iterative (descending) #2

  • iterative (descending) #3

  • iterative (descending) #4


;