Run details:
Mozilla/5.0 (Android 10; Mobile; rv:105.0) Gecko/105.0 Firefox/105.0
Firefox Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 75714.6 Ops/sec
ComponentWithUseCallback 66114.9 Ops/sec
ComponentWithInlineFunction 34568.8 Ops/sec
ComponentWithArrowFunction 33759.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction