Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Windows
Desktop
one year ago
Test name Executions per second
Inline Function 196748.9 Ops/sec
Hooks 336051.8 Ops/sec
Without useMemo 170533.5 Ops/sec
With useMemo 352569.7 Ops/sec
Child without memo 145444.3 Ops/sec
Child with memo 149051.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo