mozilla/rust — pull request #4515 by graydon (2013-01-17 03:29:34+00:00)
Title: Bench harness

This is scaffolding for the new #[bench] attribute for marking unit tests as benchmarks. They are run with the --bench flag that the test runner now accepts. The runner automatically calibrates a test loop to an appropriate count to get a good per-iteration measurement.