Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 OPR/104.0.0.0
Opera 104
Windows
Desktop
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 319781.8 Ops/sec
ComponentWithUseCallback 316872.6 Ops/sec
ComponentWithInlineFunction 263111.0 Ops/sec
ComponentWithArrowFunction 258822.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;