Run details:
Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 151228.8 Ops/sec
ComponentWithUseCallback 137247.3 Ops/sec
ComponentWithInlineFunction 86471.4 Ops/sec
ComponentWithArrowFunction 81219.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction