๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
Skip to content

QuickPerf

quick-perf edited this page Oct 17, 2021 · 187 revisions
QuickPerf

QuickPerf is a testing library for Java to quickly evaluate and improve performance-related properties


Maven Central ย ย  License ย ย  โ“ ย ย  Gitter


๐Ÿš€ย Release notes

QuickPerf works with a JDK 1.7+.

๐Ÿ”ˆ New QuickPerf project for Spring Boot applications! QuickPerf Live

Configure

Preview Preview

Use QuickPerf features

Annotation scopes

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 implementing SpecifiableGlobalAnnotations interface in an org.quickperf package.
    CoreAnnotationBuilder, SqlAnnotationBuilder, and JvmAnnotationBuilderare 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

Annotations

Heap allocation, profiling, ... N+1 select, JDBC batching disabled, ... Execution time, debugging, ...

How to

Frequently Asked questions

The answer to your question may be here.

Project examples

QuickPerf examples (JUnit 4, JUnit 5, TestNG, Hibernate, Spring, Spring Boot, Micronaut, Quarkus, ...)

Maven performance

Annotations

๐Ÿ‘‰ ย Core

๐Ÿ‘‰ ย JVM

๐Ÿ‘‰ ย SQL

๐Ÿ‘‰ ย Scopes

๐Ÿ‘‰ ย Create an annotation

Supported frameworks

๐Ÿ‘‰ ย JUnit 4

๐Ÿ‘‰ ย JUnit 5

๐Ÿ‘‰ ย TestNG

๐Ÿ‘‰ ย Spring

How to

๐Ÿ‘‰ ย Detect and fix N+1 SELECT

Project examples

๐Ÿ‘‰ ย Maven performance

๐Ÿ‘‰ ย Spring Boot - JUnit 4

๐Ÿ‘‰ ย Spring Boot - JUnit 5

๐Ÿ‘‰ ย Micronaut Data - JUnit 5

๐Ÿ‘‰ ย Micronaut - Spring - JUnit 5

๐Ÿ‘‰ ย Quarkus - JUnit 5

Miscellaneous

๐Ÿ‘‰ ย FAQ

๐Ÿ‘‰ ย QuickPerf code

Clone this wiki locally