React Hooks vs. Inline 2

4 years ago
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
Test name Executions per second
Inline Updates 61528.3 Ops/sec
Hooks Updates 135283.3 Ops/sec
Inline Mount 50445.7 Ops/sec
Hooks Mount 96162.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Updates

  • Hooks Updates

  • Inline Mount

  • Hooks Mount

Open this result on MeasureThat.net