Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36
Chrome 78
Mac OS X 10.14.5
Desktop
5 years ago
Test name Executions per second
Fib Base 8871.8 Ops/sec
Fib memoized 1 48123.4 Ops/sec
Fib memoized Tommy 685801.1 Ops/sec
Fib fast-memoize 110624.3 Ops/sec
HTML Preparation code:
Tests:
  • Fib Base

  • Fib memoized 1

  • Fib memoized Tommy

  • Fib fast-memoize