title: Internet Explorer equivalent to window.performance.memory?
body: <p>Does anyone know if IE has an equivalent to Chrome's <code>window.peformance.memory</code> property?</p>
  
  <p>I am trying to find a way to analyse IE's memory performance in my application.</p>
  
  <p>Running my js script using a Chrome browser is no problem, because Chrome has added a proprietary <code>memory</code> property to <code>window.performance</code> (see <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/performance" rel="nofollow">window.performance.memory</a> for more info).</p>
  
  <p>The way I do it in Chrome is like this:</p>
  
  <pre><code>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);
  
     }
  });
  </code></pre>