Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.69
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
Inline Function 439166.4 Ops/sec
Hooks 510681.8 Ops/sec
Without useMemo 362223.0 Ops/sec
With useMemo 501616.6 Ops/sec
Child without memo 353653.9 Ops/sec
Child with memo 369122.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;