Performance profiling

So, how do you guys know what eats up your CPUs?

I have several tweenings happening all the time and I have some calculations supporting them.

I can’t optimize tweenings but I can calculations. If they have any noticable impact that is.

Are there any ways to measure performance and how much time was spent in this or that code?

Thanks.