Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Linux
Desktop
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 674256.3 Ops/sec
ComponentWithUseCallback 654911.1 Ops/sec
ComponentWithInlineFunction 528964.5 Ops/sec
ComponentWithArrowFunction 538726.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction