Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113
Android
Mobile
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 445056.6 Ops/sec
ComponentWithUseCallback 425785.9 Ops/sec
ComponentWithInlineFunction 332220.8 Ops/sec
ComponentWithArrowFunction 331994.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction