Run details:
Mozilla/5.0 (Linux; Android 7.0; BLN-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android 7.0
Mobile
2 years ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 40625.7 Ops/sec
ComponentWithUseCallback 39232.9 Ops/sec
ComponentWithInlineFunction 29913.6 Ops/sec
ComponentWithArrowFunction 29325.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;