Run details:
Mozilla/5.0 (X11; CrOS x86_64 9592.82.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
Chrome 60
Chrome OS 9592.82.0
Other
7 years ago
Test name Executions per second
Recursive 1352.5 Ops/sec
Iterative 39304.7 Ops/sec
Array Reduction 2208.8 Ops/sec
Memoization 577.4 Ops/sec
Script Preparation code:
Tests:
  • Recursive

  • Iterative

  • Array Reduction

  • Memoization