Internet Explorer equivalent to window.performance.memory?

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; // this is the problem, IE has no memory property
}).then(function (result) {

      logResults(result.jsHeapSizeLimit);
      logResults(result.usedJSHeapSize);
      logResults(result.totalJSHeapSize);

   }
});
+4
source share
1 answer

Internet explorer, use navigation.performance to take other types of measurements. More links to speed.

https://developer.mozilla.org/en-US/docs/Web/API/Performance

: window.performance.now()

, Internet Explorer . - URL-, .

https://browserleaks.com/javascript

: CTRL + Shift + U enter image description here

+1

Source: https://habr.com/ru/post/1622872/


All Articles