Performance comparison between Spring Boot and Quarkus
This project contains the following modules:
- springboot3
- A Spring Boot 3.x version of the application
- quarkus3
- A Quarkus 3.x version of the application
- quarkus3-spring-compatibility
- A Quarkus 3.x version of the application using the Spring compatibility layer
- Base JVM Version: 21
The application expects a PostgreSQL database to be running on localhost:5432. You can use Docker or Podman to start a PostgreSQL container:
cd scripts
./infra.sh -s
This will start the database, create the required tables and populate them with some data.
To stop the database:
cd scripts
./infra.sh -d
There are some scripts available to help you run the application:
1strequest.sh
- Runs an application X times and computes the time to 1st request and RSS for each iteration as well as an average over the X iterations.
run-requests.sh
- Runs a set of requests against a running application.
infra.sh
- Starts/stops required infrastructure