Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Ubuntu
Desktop
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 410228.5 Ops/sec
ComponentWithUseCallback 417114.2 Ops/sec
ComponentWithInlineFunction 278910.3 Ops/sec
ComponentWithArrowFunction 289116.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction