is there a way to know CPU type / speed ?

I need to get it out of JavaScript
so I will not slow down slow computers...