Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
Chrome 121
Windows
Desktop
9 months ago
Test name Executions per second
Inline Function 707869.0 Ops/sec
Hooks 891912.9 Ops/sec
Without useMemo 605799.9 Ops/sec
With useMemo 845464.8 Ops/sec
Child without memo 510074.9 Ops/sec
Child with memo 578947.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;