Run details:
Mozilla/5.0 (Linux; Android 12; SM-G986N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Inline Function 65863.3 Ops/sec
Hooks 91295.6 Ops/sec
Without useMemo 34939.7 Ops/sec
With useMemo 90833.1 Ops/sec
Child without memo 50017.3 Ops/sec
Child with memo 54315.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;