Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Linux
Other
8 years ago
Test name Executions per second
Original defaultMemoize 21.1 Ops/sec
Optimized defaultMemoize 53.2 Ops/sec
No memoization 2960.4 Ops/sec
Script Preparation code:
Tests:
  • Original defaultMemoize

  • Optimized defaultMemoize

  • No memoization