Run details:
Mozilla/5.0 (Android 13; Mobile; rv:128.0) Gecko/128.0 Firefox/128.0
Firefox Mobile 128
Android
Mobile
4 months ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 148490.0 Ops/sec
ComponentWithUseCallback 209605.0 Ops/sec
ComponentWithInlineFunction 162050.0 Ops/sec
ComponentWithArrowFunction 136034.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction