| ▲ | esafak a day ago | |
What are folks using for perf testing on JVM these days? | ||
| ▲ | cogman10 a day ago | parent | next [-] | |
For 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. | ||
| ▲ | spockz a day ago | parent | prev | next [-] | |
I 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. | ||
| ▲ | noelwelsh a day ago | parent | prev | next [-] | |
jmh is what I've always used for small benchmarks. | ||
| ▲ | gavinray a day ago | parent | prev | next [-] | |
async-profiler | ||
| ▲ | 21 hours ago | parent | prev [-] | |
| [deleted] | ||