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 1001.8 Ops/sec
Iterative 40053.6 Ops/sec
Array Reduction 2118.0 Ops/sec
Memoization 46004.2 Ops/sec
Script Preparation code:
Tests:
  • Recursive

  • Iterative

  • Array Reduction

  • Memoization