Popularity
3.8
Growing
Activity
6.4
-
313
8
53

Description

               YouTube

Programming language: Java
License: Apache License 2.0

QuickPerf alternatives and similar libraries

Based on the "Performance analysis" category.
Alternatively, view quickperf alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of QuickPerf or a related project?

Add another 'Performance analysis' Library

README

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



           
   YouTube


📙 Documentation

Annotations

:point_right: Core

:point_right: JVM

:point_right: SQL

more...

Frameworks and Test Frameworks

:point_right: Spring

more...

:point_right: JUnit 4

:point_right: JUnit 5

:point_right: TestNG

more...

Frequently Asked Questions

more...

Usage

JVM annotations

    @MeasureHeapAllocation
    @HeapSize(value = 1, unit = AllocationUnit.GIGA_BYTE)
    @Test
    public void execute_batch() {
        ...
    }

📙 All the JVM annotations    :mag_right: Examples with JUnit4, Junit5, TestNG    :mag_right: Heap allocation of Apache Maven

SQL annotations

    @ExpectSelect(1)
    @Test
    public void should_find_all_players() {
     ...
    }
[PERF] You may think that <1> select statement was sent to the database
       But there are in fact <10>...

💣 You may have even more select statements with production data.
Be careful with the cost of JDBC roundtrips: https://blog.jooq.org/2017/12/18/the-cost-of-jdbc-server-roundtrips/

Auto-detection of Hibernate and Spring Data JPA:

💡 Perhaps you are facing an N+1 select issue
    * With Hibernate, you may fix it by using JOIN FETCH
                                           or LEFT JOIN FETCH
                                           or FetchType.LAZY
                                           or ...
    * With Spring Data JPA, you may fix it by adding @EntityGraph(attributePaths = { "..." })
          on repository method: https://docs.spring.io/spring-data/jpa/docs/current/reference/ht

📙 All the SQL annotations    :mag_right: Spring Boot & JUnit 4    :mag_right: Spring Boot & JUnit 5

Talks and videos

English

French

Something to ask us?

:e-mail: [email protected]

💬 Want to chat with us? Join us on gitter

:octocat: Do you prefer to use a Github issue to ask a question? Create a question issue

Show your support

Please ⭐ this repository or Tweet if this project helped you!

Contributing

You are very welcome to contribute to QuickPerf! You can contribute in many ways. Some relatively easy things can be done. Other issues are more challenging. Each contribution is appreciated. Read our contributing guide to learn more.

Contributors

Many thanks to all our contributors!

Jean Bisutti 💻 ⚠ 📖 🎨 💡 👀 📢 Guillaume Raghoumandan 💻 ⚠ Patrice Cavezzan 💻 🚇 📖 Alexandre Blanchard 🐛 💻
Eric McDowell 💻
Jan Krüger 💻 Loïc Mathieu 💻 💡 📖 Daniel Bentley 🚇
Gaurav Deshpande ⚠
rdm100 📖 Artus de Benque 🐛 💻 Minh-Trieu Ha 💻
Bakary Djiba 💻
C Faisal 💻
Thami Inaflas 💻 José Paumard 💻
Edward Rose 💻
Ubaid ur Rehman 💻 Giuseppe B. 💻
Fabrice 💻 📖 Navneet Kumar 💻
Charles Sabourdin 📖
Mohamed Karaga 🐛 💻
Hervé Boutemy 📦
Franck Demeyer 🐛 💻 emoji key

Sponsors

Many thanks Zenika for sponsoring this project! with love by zenika

License

Apache License 2.0


*Note that all licence references and agreements mentioned in the QuickPerf README section above are relevant to that project's source code only.