a situation when JHM 1.21 measurements are broken
Valentin Kovalenko
valentin.male.kovalenko at gmail.com
Wed Feb 6 09:23:57 UTC 2019
Thanks for the answers! Sorry for the delayed reply, life strikes back.
Aleksey,
you are right, my interpretation of the benchmarks was completely broken. I
will think of that more before continuing with this thread, but will most
likely return :)
Vladimir,
state.counter.getAndAdd(-1000) instead of state.counter.set(0) does not
make a difference:
# Fork: 1 of 2
# Warmup Iteration 1: 74.487 ops/ms
# Warmup Iteration 2: 56.800 ops/ms
# Warmup Iteration 3: 56.952 ops/ms
# Warmup Iteration 4: 69.635 ops/ms
# Warmup Iteration 5: 8345.231 ops/ms
# Warmup Iteration 6: 22419.179 ops/ms
Iteration 1: 11798.305 ops/ms
Iteration 2: 9974.925 ops/ms
More information about the jmh-dev
mailing list