JPU - JavaScript CPU Monitor

Andrea Giammarchi over at Web Reflection has a little experiment called “JPU”, which is based on single threading JavaScript behaviour and for this reason not "perfect". As You can see on top right of this blog, JPU just tell You if your operations inside this page have a cost for your CPU. For example, try to […]

Share online:

Andrea Giammarchi over at Web Reflection has a little experiment called “JPU”, which is based on single threading JavaScript behaviour and for this reason not "perfect".

As You can see on top right of this blog, JPU just tell You if your operations inside this page have a cost for your CPU.

For example, try to click one mini-banner on the right side (OCS - DCS) and look at JPU monitor during fade in/out.

The better browser I've tested is Opera but FireFox and Internet Explorer seems to work nicely too 🙂

If You want to add a JPU in your site, just use a script tag like this one:

<script type="text/javascript" src="http://www.3site.eu/JPU/JPU.js" ><!--// JPU - by WebReflection //--></script>

If You just want to test JPU inside another site, using FireFox or uriscript compatible browser, just use this lik.

Please remember that JPU is just for fun, about 0.5 Kb and quite totally unobtrusive. Demo

JPU, JavaScript, Java, CPU, Monitor, Script

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he’s engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.