Run details:
Mozilla/5.0 (Linux; Android 12; SM-M515F) 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 165722.7 Ops/sec
ComponentWithUseCallback 164120.9 Ops/sec
ComponentWithInlineFunction 98587.6 Ops/sec
ComponentWithArrowFunction 93384.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;