case | version | target | size |
---|---|---|---|
java-springboot | spring-boot v3.3.3 | spring-0.0.1-SNAPSHOT.jar | 22.25MB |
rust-spring-rs | spring-rs v0.3.0 | spring-rs(release binary) | 11.17MB |
case | BaseImage | ImageSize |
---|---|---|
java-springboot | openjdk:17-jdk-slim(407.74 MB) | 429.99MB |
rust-spring-rs | debian:bookworm-slim(74.77 MB) | 124.55MB |
CPU | Memory | Docker |
---|---|---|
13th Gen Intel(R) Core(TM) i7-13700H 2.40 GHz | 16.0 GB | Docker version 25.0.3, build 4debf41 |
case | QPS | CPU | Memory |
---|---|---|---|
java-springboot-raw-query | 26380.60 | 350% | 234.6MB |
rust-spring-rs-raw-query | 40143.45 | 150% | 21.2MB |
java-springboot-jdbc-query | 9679.59 | 416% | 268.1MB |
rust-spring-rs-sqlx-query | 9250.40 | 317% | 29.47MB |
NOTE: It is recommended to use the postgresql database as the sqlx backend, because the mysql backend performance of sqlx is very poor. The mysql-benchmark branch has a stress test report.