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 8950.8 Ops/sec
Fib memoized 1 46147.7 Ops/sec
Fib memoized Tommy 698979.1 Ops/sec
Fib fast-memoize 105481.4 Ops/sec
Fib fast-memoize with options 19111.3 Ops/sec
HTML Preparation code:
Tests:
  • Fib Base

  • Fib memoized 1

  • Fib memoized Tommy

  • Fib fast-memoize

  • Fib fast-memoize with options