Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36
Chrome Mobile 125
Android
Mobile
6 months ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 140242.2 Ops/sec
ComponentWithUseCallback 124413.2 Ops/sec
ComponentWithInlineFunction 102465.2 Ops/sec
ComponentWithArrowFunction 95135.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;