Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.167 YaBrowser/22.7.5.1027 Yowser/2.5 Safari/537.36
Yandex Browser 22
Windows
Desktop
2 years ago
Test name Executions per second
Inline Function 173853.3 Ops/sec
Hooks 265259.4 Ops/sec
Without useMemo 174504.1 Ops/sec
With useMemo 236949.4 Ops/sec
Child without memo 143213.5 Ops/sec
Child with memo 169773.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo


;