PhantomJS WebPage memory consumption?

百般思念 提交于 2019-12-07 21:45:13

问题


Is there a programmatic (since i want to do it automatically at runtime) way to see how much memory a webpage uses when running it through PhantomJs?

I am also using casperjs if that could be helpful. I have searched a lot but haven't found any way. PhantomJs uses QtWebKit so I don't have access to window.performance.memory.

I want to have this information since I am setting up automated performance tests for a web application.

Thanks in advance


回答1:


No, at this time this feature is not supported, but I have found issue about that https://github.com/ariya/phantomjs/issues/10031



来源:https://stackoverflow.com/questions/15958395/phantomjs-webpage-memory-consumption

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!