-
Notifications
You must be signed in to change notification settings - Fork 4
Changes between 1.0.0 RC7 and 1.0.0
Jean Bisutti edited this page Nov 18, 2020
·
1 revision
- Add configurable verbosity of the annotation display @kanedafromparis (idea) & @FTarfasse (implementation)
- When an unexpected QuickPerf exception happens, display a link on the console to create a pre-filled Github issue @jeanbisutti
- Improve Readme @kanedafromparis
- Add Javadoc to core annotations @FTarfasse
- 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
- Add automatic configuration advice: when something is not well configured to have working SQL annotations, QuickPerf displays configuration advice on the console @jeanbisutti
- Add Spring Boot 1 and Spring Boot 2 starters to ease configuration @jeanbisutti
- Add QuickPerfSqlConfig to ease configuration @jeanbisutti
- Add ExpectJdbcQueryExecution and ExpectMaxJdbcQueryExecution annotations @jeanbisutti
- Add DisableStatements and EnableStatements annotations @jeanbisutti
- Add ExpectMaxInsert annotation @MrSnix
- Add ExpectMaxDelete annotation @navkumar258
- Add ExpectMaxUpdate annotation @FTarfasse
- ExpectSelect and ExpectMaxSelect annotations: don't display N+1 select message if there are only the same selects @jeanbisutti
- Add suggestion to enable JDBC batching with Hibernate or Spring Boot @MrSnix & @jeanbisutti
- The error report now contains the database exception and the executed SQL if an improper SQL is executed. @jeanbisutti
- Add Javadoc to SQL annotations @FTarfasse
- Improve reporting of ExpectMaxQueryExecutionTime annotation @FTarfasse
- Add comment element to EnableQueriesWithoutBindParameters annotation @jeanbisutti
- Provide Hibernate / Testcontainers / QuickPerf example @kanedafromparis See example repository
- Provide Spring boot / Testcontainers / QuickPerf example @kanedafromparis See example repository
- Add non-regression tests with PostgreSQL and MariaDB with the help of Testcontainers @jeanbisutti
- Bump datasource-proxy dependency from 1.6 to 1.7 @jeanbisutti
- Fix N+1 select issue typo @jeanbisutti
- QuickPerf extension can now be automatically registered @jeanbisutti
- Add support for dynamic tests @loicmathieu
- Execute only once @BeforeEach and @AfterEach code (from the JVM executing the test method) @loicmathieu
- Add JDK 15 build @jeanbisutti
- Ability to deploy with a release profile without having to install with default profile previously @hboutemy
- Fix heap allocation measure for JUnit 4.13 and JUnit 4.13.1 @jeanbisutti
- @DisableQueriesWithoutBindParameters: add tests and fix them for SQL statements containing between, update, insert, like and for nested statements @MohamedKaraga
- Fix ClassCastException when execute method is called on Statement @jeanbisutti
- With a Spring application SQL requests might not be intercepted (bug found with https://github.com/jeanbisutti/tutorials/tree/master/jhipster/jhipster-microservice/dealer-app) @jeanbisutti
- Remove microSeconds and nanoSeconds elements from ExpectMaxExecutionTime annotation @loicmathieu & @jeanbisutti
- 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.
-
SqlAnnotationBuilder.disableSameSelectTypesWithDifferentParams()
renamedSqlAnnotationBuilder.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
andunit
elements are replaced with athresholdInMilliSeconds
element. See this commit
- JUnit 4 dependency has now to be provided @jeanbisutti
-
junit-jupiter-engine
andjunit-platform-launcher
dependencies have now to be provided @jeanbisutti & @loicmathieu
π Β Core
π Β JVM
π Β SQL
π Β Scopes
π Β Create an annotation
π Β JUnit 4
π Β JUnit 5
π Β TestNG
π Β Spring
π Β Detect and fix N+1 SELECT
π Β Maven performance
π Β Spring Boot - JUnit 4
π Β Spring Boot - JUnit 5
π Β Micronaut Data - JUnit 5
π Β Micronaut - Spring - JUnit 5
π Β Quarkus - JUnit 5
π Β FAQ
π Β QuickPerf code