Performance Testing Java Applications
summary
Walks through nine concrete steps for Java perf testing and runs live demos: a Spring PetClinic load test driven by JMeter, monitored with VisualVM, JHiccup agent and a GC log analyzer. Measures and correlates GC pauses to hiccup spikes, reporting a P99 around 4–5 ms in the demo, and shows how GC tuning trades frequent short pauses for fewer longer ones. Recommends test on production non‑intrusively when needed, disable swap, allow ~1 hour for JIT warmup, and prefers faster storage for Kafka throughput.
AI-written summary · about
chapters (10)
- 0:00Performance testing intro
- 6:28Nine steps to success
- 8:13Test goals and metrics
- 15:14Right testing environment
- 24:27OS settings for Java
- 25:51Essential testing tools
- 27:14JHiccup for JVM pauses
- 30:29JMeter demo with Pet Clinic
- 45:08Analyze results and fix issues
- 49:45Q&A
related talks
45mPerformance Testing and Tuning of Web Applications
29mJava Performance Testing for Everyone
54mPerformance tests and other lies
44mPerformance Testing: the way to make a true load
27mQuickly remove some big performance bottlenecks with QuickPerf
35mEliminate Performance Bottlenecks Quickly with QuickPerf
33mPerformance Testing is not only API
08m“8 Performance testing tips that every Test Engineer should know.”
