Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Mac OS X 10.15.7
Desktop
one month ago
Test name Executions per second
Inline Function 482133.2 Ops/sec
Hooks 676502.5 Ops/sec
Without useMemo 477313.7 Ops/sec
With useMemo 708903.8 Ops/sec
Child without memo 448439.5 Ops/sec
Child with memo 449880.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo