|
6 | 6 |
|
7 | 7 | <p align="center"> |
8 | 8 | <a href="#General-setup">General setup</a> • |
9 | | - <a href="#Benchmark-heap-allocation-of-several-Maven-releases">Benchmark heap allocation of several Maven releases</a> |
| 9 | + <a href="#Benchmark-heap-allocation-of-several-Maven-releases">Benchmark heap allocation of several Maven releases</a> |
10 | 10 | </p> |
11 | 11 | <p align="center"> |
12 | | - <a href="#Investigate-where-heap-allocation-comes-from">Investigate where heap allocation comes from</a> • |
| 12 | +<a href="#Investigate-where-heap-allocation-comes-from">Investigate where heap allocation comes from</a> • |
| 13 | + <a href="#Conclusion-and-perspectives">Conclusion and perspectives</a> • |
13 | 14 | <a href="#Acknowledgments">Acknowledgments</a> • |
14 | 15 | <a href="#License">License</a> |
15 | 16 | </p> |
@@ -83,7 +84,7 @@ For this graph, you can consult: |
83 | 84 |
|
84 | 85 | Measures took around one hour and a quarter. |
85 | 86 |
|
86 | | -From Maven versions 3.2.5 to 3.6.2, heap allocation level is the highest with Maven 3.2.5 and the smallest with Maven 3.6.2. *The heap allocation decreases from ~7 GB with Maven 3.6.1 to ~3 GB with Maven 3.6.2*. |
| 87 | +From Maven versions 3.2.5 to 3.6.2, heap allocation level is the highest with Maven 3.2.5 and the smallest with Maven 3.6.2. *The heap allocation decreases from ~7 Gb with Maven 3.6.1 to ~3 Gb with Maven 3.6.2*. |
87 | 88 |
|
88 | 89 | Control and reduce heap allocation is an important matter for Maven project. Indeed, a part of the heap allocation is going to be garbage collected and the garbage collection activity is succeptible to slow down your build. In addition, less heap allocation means that you may execute Maven with a smaller heap size. |
89 | 90 |
|
@@ -126,8 +127,16 @@ Message: The program generated 20 482 exceptions per second during 26,722 s star |
126 | 127 | 03/09/19 17:08:31. |
127 | 128 | ``` |
128 | 129 |
|
| 130 | +# Conclusion and perspectives |
| 131 | +We have developed a test bench that is able to compare the heap allocation level between several Maven versions. We also have given a method to understand the origin of heap allocation. |
| 132 | + |
| 133 | +Feel free to play with this bench and [QuickPerf](https://github.com/quick-perf/doc/wiki/QuickPerf), to perform measures (heap allocation, execution time, ...) with different plugins/goals, use different JDK or garbage collectors, ..., suggest new ideas, create new features or share your measures with PR! |
| 134 | +Some issues are also available [here](https://github.com/quick-perf/maven-test-bench/issues)! |
| 135 | + |
| 136 | +You also have [QuickPerf issues](https://github.com/quick-perf/quickperf/issues) to build new performance tools! |
| 137 | + |
129 | 138 | # Acknowledgments |
130 | 139 | Many thanks to Hervé Boutemy for his help and support to start this project. |
131 | 140 |
|
132 | 141 | # License |
133 | | -[Apache License 2.0](/LICENSE.txt) |
| 142 | +[Apache License 2.0](/LICENSE.txt) |
0 commit comments