CPU Cycles, Memory Usage, Execution Time, etc.?
Added: Is there a quantitative way of testing performance in JavaScript besides just perception of how fast the code
I think JavaScript performance (time) testing is quite enough. I found a very handy article about JavaScript performance testing here.