Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
Inline Function 304969.8 Ops/sec
Hooks 355230.3 Ops/sec
Without useMemo 249603.2 Ops/sec
With useMemo 374082.0 Ops/sec
Child without memo 193684.3 Ops/sec
Child with memo 219475.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo