BestGC++ is a profiling tool aiming to select the best Garbage Collector for a given application. It does so by benchmarking your application, retrieving metrics used to score the Garbage Collectors with respect to execution time and GC pause time. Although, previous Garbage Collection Scores are needed. Check the tool BenchmarkGC to compute them.
- Java Version: 21
- Maven
After computing Garbage Collection Scores ( see BenchmarkGC) and having all the Requirements you can run the web app like so:
-
Configure the the Garbage Collection matrix file in src/main/resources/application.properties. The file should have a format like example_matrix.json.
-
Run:
mvn clean package
java -jar target/bestGC-0.0.1-SNAPSHOT.jar
- Go to
http://localhost:8000
The development setups is simple:
- Install JavaScript type dependencies with:
npm install
- This project is configured with hot-reload, so any change to java files or template files will trigger a build. To run in dev mode:
mvn spring-boot:run
- Go to
http://localhost:8000
BestGC++ is inspired by BestGC.