You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the image that there is only App component is available in the trace. Nothing About Component1 in the trace and there are some empty blocks in the trace as well.
The things I have tried -:
Class components
Functional Components
Exporting components by default
Adding displayNames to components
Tried with Arrow function components as well
Can you please help
The text was updated successfully, but these errors were encountered:
The profiler is a sampling profiler, so if your function is executed within a short period of time (like <1ms) there is high chances that this function will not be included in a final report.
Can you add a code that blocks an execution of js thread for certain period of time (let's say 200ms) to your component (inside render) and check again?
I have created some components in the react native sample app. But I am not being able to find them in profiler.
reproducer -> https://github.com/demon-sword/sampleAppProfiling
This is the App component
sampling-profiler-trace-1.cpuprofile.txt
As you can see in the image that there is only App component is available in the trace. Nothing About Component1 in the trace and there are some empty blocks in the trace as well.The things I have tried -:
Can you please help
The text was updated successfully, but these errors were encountered: