cocos2d-x Physics封装的物理引擎 在手机上掉帧非常厉害

Scene* GameMain::createScene()
{
// ‘scene’ is an autorelease object
auto scene = Scene::createWithPhysics();
// scene->getPhysicsWorld()->setGravity(Vect::ZERO);
scene->getPhysicsWorld()->setDebugDrawMask(PhysicsWorld::DEBUGDRAW_ALL);
// ‘layer’ is an autorelease object
auto layer = GameMain::create();
// add layer as a child to scene
scene->addChild(layer);
// return the scene
return scene;
}

bool GameMain::init()
{
for (int i = 0; i < 50; ++i)
{
Node* node = Node::create();
node->setPosition(Vec2(100,100));
this->addChild(node);
auto box = PhysicsBody::createBox(Size(20,20));
node->setPhysicsBody(box);
}

return true;
}

就这段代码 在手机上运行帧数就15帧, 但是跑cocos自带的dome 帧数差不多50 到60
求人来帮忙解决下。。是我创建有问题吗??

同求,我的也是掉帧只有十几帧