JMH

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 20 11:55:07 PST 2016


So this is available for Java: http://java-performance.info/jmh/. The 
framework uses attributes such as @Benchmark, 
@BenchmarkMode(Mode.AverageTime), @OutputTimeUnit(TimeUnit.MICROSECONDS) 
etc. to great effect. Far as I can imagine, runtime reflection is used.

We should do the same, just with compile-time reflection!


Andrei


More information about the Digitalmars-d mailing list