Run details:
Mozilla/5.0 (Linux; Android 11; e-tab 20) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5752.204 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
one year ago
Test name Executions per second
ComponentWithOuterFunctionUseCallback 121150.1 Ops/sec
ComponentWithUseCallback 107707.5 Ops/sec
ComponentWithInlineFunction 87928.8 Ops/sec
ComponentWithArrowFunction 86336.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ComponentWithOuterFunctionUseCallback

  • ComponentWithUseCallback

  • ComponentWithInlineFunction

  • ComponentWithArrowFunction


;