Does anyone know if IE has a Chrome property equivalent window.peformance.memory?
I am trying to find a way to analyze IE memory performance in my application.
Running my js script using the Chrome browser does not cause problems since Chrome added the property memoryto window.performance(see window. Performance.memory for more information).
How can I do this in Chrome:
browser.driver.executeScript(function () {
return window.performance.memory;
}).then(function (result) {
logResults(result.jsHeapSizeLimit);
logResults(result.usedJSHeapSize);
logResults(result.totalJSHeapSize);
}
});
source
share