Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Mac OS X 10.15
Desktop
3 months ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 836494.8 Ops/sec
ComponentWithUseCallback 830540.4 Ops/sec
ComponentWithInlineFunction 581689.8 Ops/sec
ComponentWithArrowFunction 493981.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction