int3
int3

Reputation: 13201

Any Javascript optimization benchmarks?

I watched Nicholas Zakas' talk, Speed up your Javascript, with some interest. I liked how he benchmarked the various performance improvements created by various optimization techniques, e.g. reducing calls to deeply nested objects, changing loops to count down instead of up, etc.

I would like to run these benchmarks myself though, to see exactly how our current browsers are faring. I guess it wouldn't be too difficult to cook up some timed loops, but I'd like to know if there are any existing implementations out there.

Upvotes: 2

Views: 196

Answers (1)

Sean Kinsey
Sean Kinsey

Reputation: 38046

Take a look at JSLitmus, you can see a sample of it in action here

Upvotes: 2

Related Questions