Changes between 1.0.0 RC7 and 1.0.0 - quick-perf/doc GitHub Wiki

🚀 New features and improvements

General

Core

JVM

  • Add Javadoc to JVM annotations @FTarfasse
  • Ability to enable JDK Flight Recording with OpenJDK JDK 8 @jeanbisutti
  • Display JVM info in the error report when QuickPerf can't enable JFR profiling @jeanbisutti
  • Fix wording: Java Mission Control replaced with JDK Mission Control @jeanbisutti
  • Bump JMC from 7.0.0 to 7.1.1 @jeanbisutti
  • Add heap allocation non-regression test for JUnit 4.5 @jeanbisutti

SQL

JUnit 5

JUnit 5 & JVM

  • Execute only once @BeforeEach and @AfterEach code (from the JVM executing the test method) @loicmathieu

Build

  • Add JDK 15 build @jeanbisutti
  • Ability to deploy with a release profile without having to install with default profile previously @hboutemy

🐛 Bug fixes

JVM

  • Fix heap allocation measure for JUnit 4.13 and JUnit 4.13.1 @jeanbisutti

SQL

⚠️ Breaking changes

Core

JVM

  • To be able to use the ProfileJvm and ExpectNoJvmIssue annotations, the following dependency has to be added:
<dependency>
   <groupId>org.quickperf</groupId>
   <artifactId>quick-perf-jfr-annotations</artifactId>
   <version>1.0.0</version>
   <scope>test</scope>
</dependency>

These dependencies are also moved to org.quickperf.jvm.jfr.annotation package.

SQL

  • SqlAnnotationBuilder.disableSameSelectTypesWithDifferentParams() renamed SqlAnnotationBuilder.disableSameSelectTypesWithDifferentParamValues() @jeanbisutti
  • Set default value from zero to one for ExpectSelect, ExpectInsert, ExpectUpdate, ExpectDelete, ExpectUpdatedColumn, and ExpectSelectedColumn annotations @jeanbisutti
  • DisableExactlySameSelects annotation renamed DisableSameSelects and EnableExactlySameSelects annotation renamed EnableSameSelects @jeanbisutti
  • Remove DisableCrossJoin and EnableCrossJoin annotations because modern databases replace the cross join @jeanbisutti
  • For ExpectMaxQueryExecutionTime annotation, the value and unit elements are replaced with a thresholdInMilliSeconds element. See this commit

JUnit 4

JUnit 5

👍 Contributors

@jeanbisutti

@FTarfasse

@hboutemy

@kanedafromparis

@loicmathieu

@MohamedKaraga

@MrSnix

@navkumar258

⚠️ **GitHub.com Fallback** ⚠️