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

Convert to ESM and use rollup. #134

Merged
merged 6 commits into from
Feb 12, 2025
Merged

Convert to ESM and use rollup. #134

merged 6 commits into from
Feb 12, 2025

Conversation

fniephaus
Copy link
Member

@fniephaus fniephaus self-assigned this Feb 10, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 10, 2025
@fniephaus fniephaus requested a review from eregon February 10, 2025 09:10
Copy link

GraalVM Native Image Build Report

helloworld generated in 49.6s as part of the 'test-action-native-image-musl' job in run #31.

Environment

Java version 25+8 Vendor version GraalVM CE 25-dev+8.1
Graal compiler optimization level: 2, target machine: x86-64-v3
C compiler x86_64-linux-musl-gcc (linux, x86_64, 10.2.1)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3,170 68.674% 3,588 41.180% 14,684 42.312%
Reflection 1,009 21.859% 8 0.092% 118 0.340%
JNI 57 1.235% 58 0.666% 52 0.150%
Loaded 4,616 100.000% 8,713 100.000% 34,704 100.000%

Image Details

Category Size in % Details
Code area 4.93MB 37.897% 8,418 compilation units
Image heap 6.69MB 51.382% 85,191 objects, 171.41KB for 55 resources
Other data 1.40MB 10.721%
Total 13.02MB 100.000%

Resource Usage

Garbage collection 2.13s (4.301% of total time) in 505 GCs
Peak RSS 1.06GB (6.787% of 15.62GB system memory)
CPU load 3.646 (91.145% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

helloworld.exe generated in 1m 13s as part of the 'test-action-native-image-windows' job in run #31.

Environment

Java version 25+8 Vendor version GraalVM CE 25-dev+8.1
Graal compiler optimization level: 2, target machine: x86-64-v3
C compiler cl.exe (microsoft, x64, 19.42.34436)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 3,149 69.407% 3,586 41.332% 14,671 42.615%
Reflection 996 21.953% 8 0.092% 118 0.343%
JNI 61 1.345% 51 0.588% 52 0.151%
Loaded 4,537 100.000% 8,676 100.000% 34,427 100.000%

Image Details

Category Size in % Details
Code area 5.10MB 41.875% 8,441 compilation units
Image heap 6.69MB 54.889% 85,033 objects, 171.41KB for 55 resources
Other data 403.63KB 3.235%
Total 12.18MB 100.000%

Resource Usage

Garbage collection 2.31s (3.150% of total time) in 480 GCs
Peak RSS 1.05GB (6.537% of 16.00GB system memory)
CPU load 2.696 (67.412% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

helloworld generated in 1m 11s as part of the 'test-action-native-image-windows-msvc' job in run #31.

Environment

Java version 17.0.12+8-LTS Vendor version Oracle GraalVM 17.0.12+8.1
Graal compiler optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
C compiler cl.exe (microsoft, x64, 19.42.34436)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 1,809 59.311% 1,684 45.587% 7,635 35.793%
Reflection 618 20.262% 0 0.000% 282 1.322%
JNI 53 1.738% 30 0.812% 48 0.225%
Loaded 3,050 100.000% 3,694 100.000% 21,331 100.000%

Image Details

Category Size in % Details
Code area 2.77MB 43.940% 3,464 compilation units
Image heap 3.45MB 54.709% 48,660 objects, 108.00B for 1 resources
Other data 87.25KB 1.351%
Total 6.30MB 100.000%

Resource Usage

Garbage collection 1.68s (2.335% of total time) in 122 GCs
Peak RSS 1008.18MB (6.154% of 16.00GB system memory)
CPU load 2.285 (57.116% of 4 CPU cores)

Report generated by setup-graalvm.

Copy link

GraalVM Native Image Build Report

helloworld generated in 45.6s as part of the 'test-action-extensive' job in run #31.

Environment

Java version 17.0.8+9-LTS Vendor version Oracle GraalVM 17.0.8+9.1
Graal compiler optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
C compiler gcc (linux, x86_64, 13.3.0)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 1,853 59.145% 1,737 46.369% 7,712 35.613%
Reflection 638 20.364% 0 0.000% 281 1.298%
JNI 49 1.564% 32 0.854% 48 0.222%
Loaded 3,133 100.000% 3,746 100.000% 21,655 100.000%

Image Details

Category Size in % Details
Code area 2.75MB 23.176% 3,484 compilation units
Image heap 3.46MB 29.166% 48,950 objects, 108.00B for 1 resources
Debug info 5.33MB 44.901%
Other data 335.37KB 2.757%
Total 11.88MB 100.000%

Resource Usage

Garbage collection 1.71s (3.760% of total time) in 266 GCs
Peak RSS 911.23MB (5.699% of 15.62GB system memory)
CPU load 3.605 (90.117% of 4 CPU cores)

Report generated by setup-graalvm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants