Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120
Android
Mobile
11 months ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 197265.6 Ops/sec
ComponentWithUseCallback 184277.0 Ops/sec
ComponentWithInlineFunction 121376.6 Ops/sec
ComponentWithArrowFunction 117318.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;