Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_1 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/65.0.3325.152 Mobile/15B93 Safari/604.1
Chrome Mobile iOS 65
iOS 11.1
iPhone
6 years ago
Test name Executions per second
Original defaultMemoize 43.9 Ops/sec
Optimized defaultMemoize 59.3 Ops/sec
No memoization 103.8 Ops/sec
Script Preparation code:
Tests:
  • Original defaultMemoize

  • Optimized defaultMemoize

  • No memoization


;