Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Windows
Desktop
one year ago
Test name Executions per second
Inline Function 143450.3 Ops/sec
Hooks 253916.6 Ops/sec
Without useMemo 110329.6 Ops/sec
With useMemo 248086.9 Ops/sec
Child without memo 94709.3 Ops/sec
Child with memo 101950.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo