Run details:
Mozilla/5.0 (Android 11; Mobile; rv:107.0) Gecko/107.0 Firefox/107.0
Firefox Mobile 107
Android
Mobile
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 82616.7 Ops/sec
ComponentWithUseCallback 83169.2 Ops/sec
ComponentWithInlineFunction 50110.9 Ops/sec
ComponentWithArrowFunction 49267.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction