Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/125.0.6422.80 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 125
iOS 17.5
Mobile
5 months ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 1280959.8 Ops/sec
ComponentWithUseCallback 1226666.4 Ops/sec
ComponentWithInlineFunction 994124.2 Ops/sec
ComponentWithArrowFunction 973618.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;