mathiasbynens / jsperf.com

jsPerf.com source code
http://jsperf.com/
Other
473 stars 56 forks source link

Add unit testing for correctness #174

Closed styfle closed 10 years ago

styfle commented 10 years ago

I have found myself writing tests to compare performance cross-browser and then realizing the results are moot because IE doesn't work properly. Who cares if IE gets a lot of ops/sec if the result is not correct?

Is there a way to add in some unit testing to make sure the result is correct and drop performance results for that test if that test result is not correct?

Maybe integrate something like QUnit http://qunitjs.com/

jdalton commented 10 years ago

Naw, that's out of scope. Devs can add their own asserts.