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
Chrome 121
Windows
Desktop
8 months ago
Test name Executions per second
Inline Function 340180.9 Ops/sec
Hooks 443529.9 Ops/sec
Without useMemo 274667.6 Ops/sec
With useMemo 432988.3 Ops/sec
Child without memo 232631.0 Ops/sec
Child with memo 253337.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;