Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
9 months ago
Test name Executions per second
Inline Function 232297.5 Ops/sec
Hooks 348478.2 Ops/sec
Without useMemo 203536.7 Ops/sec
With useMemo 341185.0 Ops/sec
Child without memo 178742.2 Ops/sec
Child with memo 199175.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;