Blackhole user instantiation
Radim Vansa
rvansa at redhat.com
Wed Jun 29 08:14:07 UTC 2016
Hello,
I'd like to reuse Blackhole in project aimed at benchmarking distributed
systems (RadarGun [1]), but rather than just being tricky bastard [2]
I'd like to ask if there's any info what black magic does JMH use to
instantiate Blackhole properly and where be the dragons.
Note that RadarGun is not meant to be as precise as JMH, most of the
benchmarked calls involve RPCs and generally take hundreds of
microseconds or more. I use JMH for single JVM benchmarks, RG is
convenient to orchestrate many nodes.
Thanks
Radim
[1] https://github.com/radargun/radargun/
[2]
http://hg.openjdk.java.net/code-tools/jmh/file/13ae22114e22/jmh-core/src/main/java/org/openjdk/jmh/infra/Blackhole.java#l290
--
Radim Vansa <rvansa at redhat.com>
JBoss Performance Team
More information about the jmh-dev
mailing list