Flash CPU Performance Profiler?

Does anyone know of an extension or program that will tell you exactly what functions / processes within your Flash program are sucking up the most system resources? I’m developing a game and it’s starting to have performance problems.