0

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)

aCuria
  • 6,935
  • 14
  • 53
  • 89

1 Answers1

0

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

Community
  • 1
  • 1
BЈовић
  • 62,405
  • 41
  • 173
  • 273
  • I have access to the visual studio profiler, but it does not seem to help with one-frame spikes – aCuria Oct 31 '12 at 07:33