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
  • JMH Andrei Alexandrescu via Digitalmars-d
    • Re: JMH Robert burner Schadek via Digitalmars-d
      • Re: JMH Russel Winder via Digitalmars-d
      • Re: JMH Jacob Carlborg via Digitalmars-d
        • Re: JMH Chris Wright via Digitalmars-d
          • Re: JMH Jacob Carlborg via Digitalmars-d
      • Re: JMH Jakob Jenkov via Digitalmars-d

Reply via email to