Hello.
After breaf discovering of the project and reading the article MethodologyRuntimeBenchmark I did found that benchmark uses System::currentTimeMillis and test will be evaluated 25 times (please, correct me if I did wrong conclusion). If I correct then I have a question:
- how you can guarantee that 25 iterations without "warm up" does not contains internal JVM processes like optimizations, working in interpretation mode and others?
Matrix benchmarking is reduced to benchmarking some java method invocation.
The only project for java benchmarking as I know is JMH. It is written by performance team of Oracle and aims to reduce any internal JVM influences on measurements. JMH uses well optimized code instrumentation and is used for internal measurements by performance team (including measurements of System::currentTimeMillis itself).
Additionally, for memory footprint there is another project JOL.
I think that benchmark that using JMH and JOL under the hood will produce more precise results of measurements.
JMH examples;
JOL examples;
I hope my question will be useful for further progress of you project.
Best regards,
Dmitriy
Hello.
After breaf discovering of the project and reading the article MethodologyRuntimeBenchmark I did found that benchmark uses
System::currentTimeMillisand test will be evaluated 25 times (please, correct me if I did wrong conclusion). If I correct then I have a question:Matrix benchmarking is reduced to benchmarking some java method invocation.
The only project for java benchmarking as I know is JMH. It is written by performance team of Oracle and aims to reduce any internal JVM influences on measurements. JMH uses well optimized code instrumentation and is used for internal measurements by performance team (including measurements of
System::currentTimeMillisitself).Additionally, for memory footprint there is another project JOL.
I think that benchmark that using JMH and JOL under the hood will produce more precise results of measurements.
JMH examples;
JOL examples;
I hope my question will be useful for further progress of you project.
Best regards,
Dmitriy