3 ms·
What are folks using for perf testing on JVM these days?
by esafak 11mo ago
What are folks using for perf testing on JVM these days?
- noelwelsh 11mo agojmh is what I've always used for small benchmarks.
- cogman10 11mo agoFor production systems I use flight recordings (jfrs). To analyze I use java mission control. For OOME problems I use a heap dump and eclipse memory analysis tool. For microbenchmarks, I use JMH. But I tend to try and avoid doing those.
- gavinray 11mo agoasync-profiler
- spockz 11mo agoI use jmh for micro benchmarks on any code we know is sensitive and to highlight performance differences between different implementations. (Usually keep them around but not run on CI as an archive of what we tried.) Then we do benchmarking of the whole Java app in the container running async-profiler into pyroscope. We created a test harness for this that spins up and mocks any dependencies based on api subscription data and contracts and simulates performance. This whole mechanism is generalised and only requires teams that create individual apps to work with contract driven testing for the test harness to function. During and after a benchmark we also verify whether other non functionals still work as required, i.e. whether tracing is still linked to the right requests etc. This works for almost any language that we use.
- deleted 11mo ago[deleted]