I can only suspect, but I think they use maven to collect all functions that use @Benchmark. And this leads to the problem the unittest library proposal for phobos had.

No that is the job of the Java compiler.

Actually, annotations in Java can be both read at runtime or compile time. As far as I know, you cannot hook into the compiler to check for annotations, so most Java frameworks scan for annotations at startup time. Not that it
matters much, anyways.
  • 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