Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
Chrome 93
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Inline Function 305044.5 Ops/sec
Hooks 393267.9 Ops/sec
Without useMemo 240737.1 Ops/sec
With useMemo 385941.0 Ops/sec
Child without memo 206000.4 Ops/sec
Child with memo 204717.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;