title: JavaScript: How to determine performance of the runtime (aka browser)?
body: <p>I have a JavaScript application, which works fine, but certainly needs some memory / CPU performance (it is based on top of Google maps).</p>
  
  <p>So basically it runs fine on a Desktop / Laptop PC, iPad works OK. But with all these different devices nowadays, smaller devices are definitely overloaded.</p>
  
  <p>So basically I want to determine the available runtime and decide whether I start my JavaScript application, or display a message instead.</p>
  
  <ol>
  <li>OK, I could check the browser, but this is a never ending story</li>
  <li>I could check on the OS information, but again this is very tedious. Also some OS run on high performance devices as well as low end hardware.</li>
  <li>I could check on the screen size and rule out mobile phones, but then it gets difficult</li>
  </ol>
  
  <p><strong>So is there a way to determine the performance of the client?</strong> Just to make it clear, I do not care whether it is a tablet for instance, but if it is a low performance tablet with little CPU performance / memory (so <a href="https://stackoverflow.com/questions/15100234/detect-phone-tablet-web-client-using-javascript">Detect phone/tablet/web client using javascript</a> does not help).</p>