Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions reactive/demo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -447,15 +447,15 @@ TIP: Use the link:start.sh[`start.sh`] script to get the real time, not what eac
Micronaut: same as imperative since there's no difference in code
Quarkus: (25 + 24 + 24 + 24 + 23) / 5 = 24
Spring Boot: (37 + 40 + 38 + 38 + 38) / 5 = 38.2
Helidon: (157 + 311 + 375 + 169 + 230) / 5 = 248.4
Helidon: (197 + 197 + 197 + 198 + 195) / 5 = 196.8
----
+
Printed duration:
+
----
Quarkus: (10 + 10 + 10 + 10 + 10) / 5 = 10
Spring Boot: (22 + 23 + 21 + 21 + 21) / 5 = 21.6
Helidon: (146 + 303 + 363 + 164 + 220) / 5 = 239.2
Helidon: (147 + 148 + 147 + 145 + 145) / 5 = 146.4
----

.Native Java startup times in milliseconds
Expand All @@ -465,9 +465,11 @@ Helidon: (146 + 303 + 363 + 164 + 220) / 5 = 239.2
|Micronaut | `./micronaut/build/native/nativeCompile/app` | 26
|Quarkus | `./quarkus/build/quarkus-1.0.0-SNAPSHOT-runner` | 24
|Spring Boot | `./spring-boot/build/native/nativeCompile/spring-boot` | 38.2
|Helidon | `./helidon/target/helidon` | 248.4
|Helidon | `./helidon/target/helidon-jri/bin/start` | 196.8
|===

Helidon 27 requires Java 27, but GraalVM releases are based on Java 25, so Helidon's number is for a jlink image with an AOT cache, not a native executable.

NOTE: These numbers are from an Apple M3 Max with 64 GB RAM.

== Memory Usage Comparison
Expand All @@ -488,9 +490,11 @@ Substitute `<executable>` as follows:
|Micronaut | `app` | 53 | 63 | 105
|Quarkus | `quarkus` | 39 | 50 | 55
|Spring Boot | `spring-boot` | 75 | 108 | 223
|Helidon | `helidon` | 51 | 52 | 70
|Helidon | `helidon-jri` | 99 | 169 | 493
|===

Helidon's numbers are for its jlink image, which runs on the JVM, so it uses more memory than the native executables. Each is the median of three runs of `memory.sh`.

----
./build.sh
./start.sh micronaut|quarkus|spring-boot|helidon
Expand Down
Loading