Flex 3.2 Perfomance problems

Hello guys,
great thanx for enjoyful time I'm having with Box2d !

I'm trying to make a game based on it, but got some perfomance problems.

I've built Main.as from Box2D v2.0.2 and it show much lower (up to twice) FPS than PhysTest.swf, provided with the same package. (with no matter wich framerate I've set)
I use Flex SDK 3.2.0... didn't try to build it with Flash.

Has anybody got any idea about reason of such peromance difference and how can I make it better?

Thanx!
Usually when you are running from the IDE, performance is much worse because the debugger is connected (I suspect).

So when you "CTRL + ENTER" in Flash IDE, what you get to see inside the program has a worse performance than running the compiled SWF in a stand alone flash player or browser.

Try compiling an SWF, then running it the same way you run the PhysTest.swf you got in the package (in the stand alone flash player?). Then compare performance again.

Original thread: https://box2d.org/forum/viewtopic.php?t=3084