Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Linux
Desktop
2 years ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 381587.6 Ops/sec
ComponentWithUseCallback 373250.5 Ops/sec
ComponentWithInlineFunction 302737.7 Ops/sec
ComponentWithArrowFunction 300739.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;