Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/119.2 Mobile/15E148 Safari/605.1.15
Mobile Safari 16
iOS 16.6.1
Mobile
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 905571.6 Ops/sec
ComponentWithUseCallback 891833.2 Ops/sec
ComponentWithInlineFunction 735058.8 Ops/sec
ComponentWithArrowFunction 713798.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;