Skip to content

Core annotations

quick-perf edited this page Aug 16, 2019 · 52 revisions

🚩 Table of contents

@DisplayAppliedAnnotations

@DisableGlobalAnnotations

@DisableQuickPerf

@FunctionalIteration

@DebugQuickPerf

@DisplayAppliedAnnotations

Display applied QuickPerf annotations in console.

An annotation can have three scopes (gobal, test class, test method). This annotation is useful to see which annotations are applied on a test method.

Example

In console:

[QUICK PERF] Applied annotations: @JdbcBatches(batchSize=30), @DisableSameSelectTypesWithDifferentParams
             Class specifying global annotations: org.quickperf.QuickPerfConfiguration

@DisableGlobalAnnotations

Disable global annotations on test method or test class.

Parameters

Parameter Type Meaning Default value
comment String Comment why global annotations are disabled -

@DisableQuickPerf

Disable QuickPerf features.

This worflow example illustrates how to use @DisableQuickPerf with SQL annotations.

Parameters

Parameter Type Meaning Default value
comment String Comment why QuickPerf is disabled -

@FunctionalIteration

Disable QuickPerf features.

This worflow example illustrates how to use @FunctionalIteration with SQL annotations.

@DebugQuickPerf

This annotation is addressed to developers working on QuickPerf annotations.
It displays information in console for debugging purpose.

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