Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
11 months ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 534892.2 Ops/sec
ComponentWithUseCallback 536746.8 Ops/sec
ComponentWithInlineFunction 427649.3 Ops/sec
ComponentWithArrowFunction 437035.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction