Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.0
Mobile
one year ago
Test name Executions per second
Inline Function 368819.9 Ops/sec
Hooks 436930.7 Ops/sec
Without useMemo 351005.6 Ops/sec
With useMemo 435145.6 Ops/sec
Child without memo 225594.2 Ops/sec
Child with memo 246998.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo