I am getting lag spikes in my application, and am wondering how I could find what code is causing the spikes easily
The app is just a third person game (no networking)
I am getting lag spikes in my application, and am wondering how I could find what code is causing the spikes easily
The app is just a third person game (no networking)
Profile your code, detect the bottlenecks and optimize.
For windows, take a look into this question and answers for tools to profile the code : What's the best free C++ profiler for Windows?
You can use gDEBugger whether the bottleneck is on the GPU