Skip to content

Commit

Permalink
Check the reason about RSS regression in Jafu samples
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Apr 9, 2020
1 parent f150589 commit be257b4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
16 changes: 15 additions & 1 deletion spring-graal-native-samples/jafu-webmvc/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
This sample leverages Jafu DSL from [Spring Fu incubator](https://github.com/spring-projects-experimental/spring-fu).
This sample leverages Jafu DSL from [Spring Fu incubator](https://github.com/spring-projects-experimental/spring-fu) in order to allow smaller image size and lower memory consumption.

Notice there is currently a regression in GraalVM on XML related code removal capabilities, see figures bellow and related issue https://github.com/oracle/graal/issues/2327.

With GraalVM 19.3.1:

- Image build time: 78.8s
- RSS memory: 38.3M
- Image size: 37.8M

With GraalVM 20.0.0:

- Image build time: 87.6s
- RSS memory: 50.6M
- Image size: 55.8M
16 changes: 15 additions & 1 deletion spring-graal-native-samples/jafu/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
This sample leverages Jafu DSL from [Spring Fu incubator](https://github.com/spring-projects-experimental/spring-fu).
This sample leverages Jafu DSL from [Spring Fu incubator](https://github.com/spring-projects-experimental/spring-fu) in order to allow smaller image size and lower memory consumption.

Notice there is currently a regression in GraalVM on XML related code removal capabilities, see figures bellow and related issue https://github.com/oracle/graal/issues/2327.

With GraalVM 19.3.1:

- Image build time: 36.2s
- RSS memory: 14.7M
- Image size: 15.0M

With GraalVM 20.0.0:

- Image build time: 43.2s
- RSS memory: 17.9M
- Image size: 21.8M

0 comments on commit be257b4

Please sign in to comment.