❔ Isolate parts of code that are taking up too much time

How do you isolate, down to maybe individual loops and functions, what part of your code is taking up the most time with the debug tool in Visual Studio? I have a funciton thats taking up a hundred milliseconds that should definitely not be taking up that long and I can't figure out why.
No description
4 Replies
fiefensneifiefens
fiefensneifiefensOP16mo ago
my CPU and memory are fine which surprised me, it just is simply taking a ton of time to do anything and I can't isolate what is the worst offender
Aaron
Aaron16mo ago
a profiler
SG97
SG9716mo ago
what does your method do ProgressOneMonth doesn't really describe what's happening well, it does, but not that specific which makes me assume it does more
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?