Benchmark block

Jacob Carlborg via Digitalmars-d digitalmars-d at
Tue Mar 31 23:19:41 PDT 2015

On 2015-03-31 19:05, Jonathan wrote:

> Well, I don't consider benchmarks <a kind of> unit test. So maybe just
> this:

It depends on how you look at it. I know Xcode has support for some kind 
of unit test benchmark. You can assign a upper value to a benchmark and 
if that value is exceed the benchmark will fail. Kind of like a unit 
test but it asserts on how long it takes to execute instead of some 

/Jacob Carlborg

More information about the Digitalmars-d mailing list