Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 SberBrowser/7.1.145.0
Chrome 113
Windows
Desktop
one year ago
Test name Executions per second
Inline Function 96160.0 Ops/sec
Hooks 161945.5 Ops/sec
Without useMemo 102364.2 Ops/sec
With useMemo 164948.4 Ops/sec
Child without memo 83062.0 Ops/sec
Child with memo 103313.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • Hooks

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo