cocos2d-x jsb how to do performance optimization?

i haven’t found any tools to do this. native code can use xcode profile, but i haven’t found any tool to analyse js code. @pandamicro @ludingping