vblanco
10 months ago
A truly incredible profiler for the great price of free. There is nothing coming at this level of features and performance even on paid software. Tracy could cost thousands of dollars a year and would still be the best profiler.
Tracy requires you to add macros to your codebase to log functions/scopes, so its not an automatic sampling profiler like superluminal, verysleepy, VS profiler, or others. Each of those macros has around 50 nanoseconds of overhead, so you can liberally use them in the millions. On the UI, it has a stats window that will record average, deviation, min/max of those profiler zones, which can be used to profile functions at the level of single nanoseconds.
Its the main thing i use for all my profiling and optimization work. I combine it with superluminal (sampling profiler) to get a high level overview of the program, then i put tracy zones on the important places to get the detailed information.
eagle2com
10 months ago
Doesn't Tracy have the capability to do sampling as well? I remember using it at some point, even if it was finicky to setup because windows.
vblanco
10 months ago
it does, but i dont use it much due to it being too slow and heavy on memory on my ryzen 5950x (32 threads) on windows. a couple seconds of tracing goes into tens of gigabytes of ram.
forrestthewoods
10 months ago
Yeah I had issues with the Tracy sampler. It didn’t “just work” the way Superluminal did.
My only issue with Superluminal is I can’t get proper callstacks for interpreted languages like Python. It treats all the CPP callstacks as the same. Not sure if Tracy can handle that nicely or not…
forrestthewoods
10 months ago
Tracy and Superluminal are the way. Both are so good.
Flex247A
10 months ago
Hello! Going through your tutorial and it's been a great ride!
Thanks for the good work.