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
Try jsPerf. It's an online javascript performance tool for benchmarking and comparing snippets of code. I use it all the time.