Run details:
Mozilla/5.0 (iPad; CPU OS 10_0_1 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A403 Safari/602.1
Mobile Safari 10
iOS 10.0.1
iPad
8 years ago
Test name Executions per second
Original defaultMemoize 19.8 Ops/sec
Optimized defaultMemoize 16.2 Ops/sec
No memoization 52.8 Ops/sec
Script Preparation code:
Tests:
  • Original defaultMemoize

  • Optimized defaultMemoize

  • No memoization


;