# Beginner optimization questions

**URL:** <https://forum.juce.com/t/beginner-optimization-questions/16385>\
**Category:** MacOSX and iOS\
**Created:** [January 12, 2016, 6:33pm UTC](https://forum.juce.com/t/beginner-optimization-questions/16385 "2016-01-12T18:33:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pizzafilms](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pizzafilms/32/562_2.png) [@pizzafilms](https://forum.juce.com/u/pizzafilms)\
**Post date:** [January 12, 2016, 6:33pm UTC](https://forum.juce.com/t/beginner-optimization-questions/16385/1 "2016-01-12T18:33:53Z")

</div>

After spending the last few months exploring JUCE, dsp, synth making&nbsp;and thoroughly&nbsp;enjoying myself, I realized that I've got to get real...I don't really know how much CPU usage my synth is using, nor do I know how to track it down. Obviously, once I know my problems, I can take steps to deal with them, but I have to know what the issues are first.&nbsp;

So...

What's the best way to get an idea of how much CPU my plugin is using? Or is that even the proper question?

If it were a \*normal\* non-audio app, I could use Instruments and find out all kinds of stuff, but I don't know the best way to do that with an audio plugin.&nbsp;

One thing that triggered this topic is, I've recently started getting random loud pops every once in a while. Not very often and not all the time.&nbsp;I can't trace the pops to any one thing I've added recently or any specific UI interaction, however, it made me wonder about CPU usage and just how clueless I am right now. Who knows...maybe it's just El Capitan.

Which also makes me wonder about the difference of JUCE in debug mode vs JUCE in optimized mode.&nbsp;

I realize this is a wandering question, but I think you pros will know what I'm talking about. ANY tips would be greatly appreciated.&nbsp;

Thank you.

PS - I hope no one minds, but I'm going to cross post this in the Audio Plugins&nbsp;forum as well.
