Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36
Chrome 101
Windows
Desktop
one year ago
Test name Executions per second
Inline Function 210518.2 Ops/sec
Hooks 274764.7 Ops/sec
Without useMemo 172550.5 Ops/sec
With useMemo 254684.1 Ops/sec
Child without memo 148537.0 Ops/sec
Child with memo 168284.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;