#Benchmarking generated bytecode
1 messages · Page 1 of 1 (latest)
If you have a dependency on some library (compiled code) is it impossible to use that dependency in a jmh benchmark? No it is not.
It just rewrites the actual benchmark methods.
ta-da!
The reason it rewrites the code is to control the benchmark environment.
The generated source is in your build folder
Take a look at it.