Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Linux
Desktop
2 years ago
Test name Executions per second
Inline Function 277601.7 Ops/sec
Hooks 359024.4 Ops/sec
Without useMemo 228306.2 Ops/sec
With useMemo 325734.7 Ops/sec
Child without memo 203760.5 Ops/sec
Child with memo 196219.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;