diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


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 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:

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

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...