Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce GraalVM Native Image build reports. #20

Merged
merged 10 commits into from
Nov 8, 2022
Merged

Introduce GraalVM Native Image build reports. #20

merged 10 commits into from
Nov 8, 2022

Conversation

fniephaus
Copy link
Member

@fniephaus fniephaus commented Nov 3, 2022

Example

[PR comment]

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

@fniephaus fniephaus added the enhancement New feature or request label Nov 3, 2022
@fniephaus fniephaus self-assigned this Nov 3, 2022
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 3, 2022
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/features/reports.ts Outdated Show resolved Hide resolved
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 7, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 8, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 8, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 8, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 8, 2022
@graalvm graalvm deleted a comment from github-actions bot Nov 8, 2022
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

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
Copy link

github-actions bot commented Nov 8, 2022

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
Copy link

github-actions bot commented Nov 8, 2022

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.

@graalvm graalvm deleted a comment from github-actions bot Nov 8, 2022
@fniephaus fniephaus merged commit d535927 into main Nov 8, 2022
@fniephaus fniephaus deleted the reports branch November 8, 2022 15:14
@fniephaus fniephaus changed the title Introduce GraalVM Native Image reports. Introduce GraalVM Native Image build reports. Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants