Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/98.0.4758.85 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 98
iOS 14.8
Mobile
2 years ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 523923.5 Ops/sec
ComponentWithUseCallback 518184.5 Ops/sec
ComponentWithInlineFunction 420189.5 Ops/sec
ComponentWithArrowFunction 413715.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;