Skip to content

Commit

Permalink
Update minimal benchmark
Browse files Browse the repository at this point in the history
Issue gh-34
  • Loading branch information
sdeleuze committed Jun 15, 2018
1 parent 16c4949 commit ce51be4
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions samples/minimal-webapp/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@

This is a Spring Fu example of a minimal webapp with filtered classpath.

Stats are Size of the executable JAR is:
Spring Fu figures are:

* Tomcat: 866 ms startup, 12.1 MB executable JAR, 3400 classes, 14 MB heap after startup without GC
* Netty: 1058 ms startup, 12.6 MB executable JAR, 3360 classes, 14 MB heap after startup without GC
* Netty + Jackson: 1224 ms startup, 14.5 MB executable JAR, 5200 classes, 65 MB heap after startup without GC

To be compared to Boot with Netty + Jackson via the default Web Reactive starter: 2263 ms startup, 20.6 MB executable JAR, 7900 classes, 151 MB heap after startup without GC

TODO

* Undertow: when https://github.com/spring-projects/spring-fu/issues/59 will be fixed
* Jetty: when https://github.com/spring-projects/spring-fu/issues/60 will be fixed


* Tomcat: 866 ms startup, 12.1 MB executable JAR, 3400 classes, 10 MB heap, 0 MB Permgen
* Netty: 1058 ms startup, 12.6 MB executable JAR, 3360 classes, 10 MB heap, 0 MB Permgen
* Undertow: TODO when https://github.com/spring-projects/spring-fu/issues/59 will be fixed
* Jetty: TODO when https://github.com/spring-projects/spring-fu/issues/60 will be fixed

The app could be benchmark with the following command:

Expand Down

0 comments on commit ce51be4

Please sign in to comment.