Perfomance problem when creating many circles as fixtures

In my cocos2d game I need to create such body:

Image

It's consist from circles and sometimes polygons is there.
When this body created and moved on the scene my iPad mini processor loads at 98-99% (especially, when this body rotated in world)

Image

Circles used to create user defined object, he just draw lines and I'm creating circles on the control dots of each line.

So, I want to improve performance as much as it possible...
How many bodies do you have there? You may have simply reached the limit of what the CPU can do.
Above ~1000, but they are small..
Strange, that it's drop performance even on simulator. My pc has core i3 3.5Ghz processor...(hackintosh 🙂)
They may be small, but they still have to be calculated for. I think you are just pushing the limits with that hardware.
You may be interested in this article, which talks about some of the challenges of this type of simulation:
http://tuxedolabs.blogspot.jp/2011/11/s ... cenes.html
Even with their improved customized neighbor-finding and a lot of optimization, they still could not manage more than 600 particles.

For the simulator, it's probably slow because the rendering is all done in software. Try turning off the debug draw or whatever rendering you are doing, and check the framerate without it.
Thanks for the link, very interesting.
Without debug draw same situation. Well, as I understand it's nothing can be done here and I need to try another way to create a body.
I need just create body based on what user draw on the screen, on lines and polygons...
I like that.

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