graalvm / setup-graalvm

GitHub Action for setting up GraalVM distributions.
https://www.graalvm.org
Universal Permissive License v1.0
195 stars 28 forks source link

Introduce GraalVM Native Image build reports. #20

Closed fniephaus closed 2 years ago

fniephaus commented 2 years ago

Example

[PR comment]

Total build time and some other details are not yet available in the build output JSON, but are being added in https://github.com/oracle/graal/pull/5336.

github-actions[bot] commented 2 years ago

GraalVM Native Image Build Report

helloworld generated as part of the 'test-native-image-musl' job in run #129.

Environment

GraalVM version GraalVM 22.3.0 Java 19 CE C compiler x86_64-linux-musl-gcc (linux, x86_64, 10.2.1)
Java version 19.0.1+10-jvmci-22.3-b08 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 2908 73.583% 3453 50.750% 12986 43.303%
Reflection 24 0.607% 0 0.000% 329 1.097%
JNI 57 1.442% 56 0.823% 52 0.173%
Loaded 3952 100.000% 6804 100.000% 29989 100.000%

Image Details

Category Size in % Details
Code area 4.17MB 36.383% 7333 compilation units
Image heap 6.96MB 60.721% 152.82KB for 5 resources
Other data 339.74KB 2.896%
Total 11.46MB 100.000%

Resource Usage

Garbage collection 1.47s in 18 GCs
Peak RSS 2.37GB (34.889% of 6.78GB system memory)
CPU load 1.969 (98.471% of 2 CPU cores)

Report generated by setup-graalvm.

github-actions[bot] commented 2 years ago

GraalVM Native Image Build Report

helloworld generated as part of the 'test-extensive' job in run #129.

Environment

GraalVM version GraalVM 23.0.0-dev Java 17 CE C compiler gcc (linux, x86_64, 9.4.0)
Java version 17.0.5+6-jvmci-23.0-b01 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 2889 72.734% 3433 50.912% 12703 43.052%
Reflection 27 0.680% 0 0.000% 313 1.061%
JNI 58 1.460% 58 0.860% 52 0.176%
Loaded 3972 100.000% 6743 100.000% 29506 100.000%

Image Details

Category Size in % Details
Code area 3.97MB 20.323% 7208 compilation units
Image heap 8.00MB 41.011% 148.84KB for 5 resources
Debug info 7.00MB 35.892%
Other data 554.41KB 2.774%
Total 19.52MB 100.000%

Resource Usage

Garbage collection 1.68s in 19 GCs
Peak RSS 2.51GB (37.064% of 6.78GB system memory)
CPU load 1.951 (97.549% of 2 CPU cores)

Report generated by setup-graalvm.

github-actions[bot] commented 2 years ago

GraalVM Native Image Build Report

helloworld generated as part of the 'test-native-image-msvc' job in run #129.

Environment

GraalVM version GraalVM 22.3.0 Java 17 CE C compiler cl.exe (microsoft, x64, 19.33.31630)
Java version 17.0.5+8-jvmci-22.3-b08 Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 2799 74.205% 3376 50.836% 12423 43.131%
Reflection 28 0.742% 0 0.000% 314 1.090%
JNI 62 1.644% 53 0.798% 52 0.181%
Loaded 3772 100.000% 6641 100.000% 28803 100.000%

Image Details

Category Size in % Details
Code area 4.07MB 36.443% 7129 compilation units
Image heap 6.91MB 61.931% 148.84KB for 5 resources
Other data 185.83KB 1.626%
Total 11.16MB 100.000%

Resource Usage

Garbage collection 1.86s in 17 GCs
Peak RSS 2.25GB (32.165% of 7.00GB system memory)
CPU load 0.559 (27.926% of 2 CPU cores)

Report generated by setup-graalvm.