Gunnar Morling Continuous Performance Regression Testing with Jfr Unit
Functional unit and integration tests are a common practice to detect and prevent regressions within a software component or applications behavior. Things look different, though, when it comes to performancerelated aspects: how to identify an application is slower than it used to be How to spot higher memory consumption than before How to find out about suboptimal SQL queries that sneaked in Any performance tests based on metrics like wallclock time or throughput are not portable. They are subject to a specific execution environment such as a developer laptop, CI, or productionlike environment. Welcome JfrUnit: based on the JDK Flight Recorder (JFR), it allows you to implement assertions based on all kinds of JFR events emitted by the JVM or your application.
|
|