Expose Measurement


Return Measurement object from Benchmark.Measure(). In wiki show how one can assert against it in tests (idea from Follesø).
As the internal Measurement object is exposed there is no reason to not change the Printer interface. So change Print(Object o) to Print(Measurement m) (if this makes sense.., check code).


tormaroe wrote Jan 27, 2010 at 7:35 AM

Implemented for v0.2.

Printer left as in v0.1, since it's used to print various objects, and I don't want to clutter the interface.

wrote Jan 21, 2013 at 11:50 PM

wrote May 8, 2013 at 11:26 PM

wrote May 8, 2013 at 11:26 PM

wrote Jun 6, 2013 at 12:46 AM