问题
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