QuickPerf - quick-perf/doc GitHub Wiki
QuickPerf works with a JDK 1.7+.
🔈 New QuickPerf project for Spring Boot applications! QuickPerf Live
Preview | Preview | ||
An annotation can have three scopes: global, class, method
Scope definitions
-
Global scope
The annotation applies to each QuickPerf test.
To configure global scope annotations, create a class implementingSpecifiableGlobalAnnotations
interface in anorg.quickperf
package.
CoreAnnotationBuilder
,SqlAnnotationBuilder
, andJvmAnnotationBuilder
are available to help to build global scope annotations. -
Class scope
The annotation is on the test class. It overrides the configuration of the same annotation with global scope. -
Test method scope
The annotation is on the test method. It overrides the configuration of the same annotation with test class and global scopes.
💡 Examples illustrating how annotation scopes work
Heap allocation, profiling, ... | N+1 select, JDBC batching disabled, ... | Execution time, debugging, ... |
The answer to your question may be here.
QuickPerf examples (JUnit 4, JUnit 5, TestNG, Hibernate, Spring, Spring Boot, Micronaut, Quarkus, ...)
Maven performance