I have a loop that takes about 3 minutes for the first iteration and around 1ms for the rest 99.
I'm trying to figure out if there is a way to get separate profiling data for each loop and how to do it.
I'm very new to profiling so I might be missing something obvious here.
I should note that I know where my bottlenecks are. 2 of my functions take almost 99.9% of the runtime. I'm trying to figure out if it's all in the first loop (an therefore probably some allocation issue) or 'spread' across the execution of the script.
I'm on Windows 10 using Visual Studio 15 (and it's integrated profiler)