Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132
Mac OS X 10.15.7
Desktop
one month ago
Test name Executions per second
Inline Function 1116180.6 Ops/sec
Hooks 1582152.6 Ops/sec
Without useMemo 877714.8 Ops/sec
With useMemo 1507426.4 Ops/sec
Child without memo 842801.6 Ops/sec
Child with memo 811113.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo