HASTY shorts are an ever growing collection of useful benchmarks to test from, easily run through examples and compare the results. This is aimed at JavaScript performance testing but is not meant to be an exhaustive list of all the different JavaScript quirks available.
With HASTY it's even possible to run larger, more complex algorithms - amongst them - the (in)famous sorting algorithms. Again implemented in JavaScript for performance testing.