Cant see my own code in profiler snap shot

I cant seem to do this correct. I try to profile my program, but I only get jibberish. I Expected to see my own code and recognize my method names, where I can drill down to get some details. I have tried different profile methods (sampling, tracing, timeline...) but without any direct changes. 
I have tried just to start a profiling session, hit my web api with a call (from Postman)  and taken the snapshot. I have also tried to debug, set a breakpoint and start profiling a process (because that seems to be the only way to profile part of  the code, correct me if Im wrong) 

I get result like these, which says nothing to me 

0
3 comments
Hello,
Thank you for contacting us.

Do your methods persist in the Hotspots section? Could you find your methods with a "Search Functions" or "Find method in Call Tree"?
 
I have also tried to debug, set a breakpoint and start profiling a process (because that seems to be the only way to profile part of  the code, correct me if Im wrong)
 
If you want to profile specific parts of the code, it is preferable using JetBrains.Profiler.API : https://www.jetbrains.com/help/profiler/2022.2/Profiling_Guidelines__Advanced_Profiling_Using_dotTrace_API.html#profiling-a-specific-part-of-the
0

Hi Valentina
Your links looks really interesting, Ill have to check them out. But to answer your questions:

I dont understand what you mean by hotspot section. I have been toggling down all of those arrows, but I cant find any of the methods

that is in my code. I would prefer to at least as a start only see my code, the "Dispatch", "WaitForSignal", "ExecuteWithLocalThread" says nothing to me, its just in the way, if I want to know roughly how much time any of my method takes. I feels strange that I shuold have to search for my own code, since that is what Im trying to profile. So I suspect I have missed something fundamental. 

0

Hello,
The Hotspot is a section with functions with the highest execution time.

You can read more about it for Timeline viewer here (It had called Methods and Subsystems before):
https://www.jetbrains.com/help/profiler/Plain_List.html

You can read more about it for Performance viewer here: https://www.jetbrains.com/help/profiler/Studying_Profiling_Results__Hot_Spots.html

Have you tried to find the methods with "search" fields?

Could you please tell us what methods are you trying to find and send the snapshot with them to us if it is possible?

  • Start the profiling session
  • Perform the methods you want to see in the snapshot
  • Get the snapshot
  • Send it to us

You can upload it to our ftp: https://uploads.services.jetbrains.com/ 

0

Please sign in to leave a comment.