Does anyone have recommendations regarding tools for profiling performance? Especially regarding video memory/performance?
I have a few random issues that I need to troubleshoot, and Unity itself doesn’t seem to be of much help.
Any ideas?
Does anyone have recommendations regarding tools for profiling performance? Especially regarding video memory/performance?
I have a few random issues that I need to troubleshoot, and Unity itself doesn’t seem to be of much help.
Any ideas?
Apple’s OpenGL Profiler can be useful for finding out how your graphics card is being used. Also, although Shark isn’t really meaningful for profiling Mono code, it can sometimes tell you where you’re spending your time in OpenGL (and other system APIs).
Both of these tools are part of the Xcode Developer Tools package.
Thanks Neil!
I’ve had the Xcode stuff downloaded since a few months, but hadn’t bother to install it.
Anyway, I had a run with the OpenGL driver monitor, but am a bit unsure as what to look at. I assume it’s current Free AGP memory that’s the most important one?
Is there other things to take into account when trying to measure the performance?
Any hints welcome - I’m pretty new at profiling.
Cheers!
You can add counters that are displayed in OpenGL driver monitor. “Current Free AGP memory” is pretty much useless; most likely you’ll want “current free video memory” and “CPU waits for GPU”.
For general profiling, Shark (comes with CHUD installer; maybe with XCode as well) is very very nice. Built a standalone player without stripping debug symbols, and profile. In fact, I wish Windows profilers were as nice; both Intel’s VTune and AMD’s CodeAnalyst are user interface disasters, and they don’t have a useable top-down profiling view.