Run details:
Mozilla/5.0 (Linux; Android 10; VOG-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.87 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 225775.5 Ops/sec
ComponentWithUseCallback 222270.0 Ops/sec
ComponentWithInlineFunction 152359.3 Ops/sec
ComponentWithArrowFunction 162828.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;