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 67807.0 Ops/sec
Hooks 92360.9 Ops/sec
Without useMemo 34285.9 Ops/sec
With useMemo 89532.4 Ops/sec
Child without memo 49232.5 Ops/sec
Child with memo 54681.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;