Skip to content

AoT builds: enable the SkipFlow optimization#199

Merged
Karolina-Bogacka merged 1 commit intomainfrom
GH-195/skipflow
Aug 24, 2025
Merged

AoT builds: enable the SkipFlow optimization#199
Karolina-Bogacka merged 1 commit intomainfrom
GH-195/skipflow

Conversation

@Ostrzyciel
Copy link
Member

Issue #195

Enable the SkipFlow optimization in AoT builds to save on binary size. Details: https://medium.com/graalvm/skipflow-producing-smaller-executables-with-graalvm-f18ca98279c2

This trimmed 2MB from the binary size:

$ ls -lh
-rwxrwxr-x 1 piotr piotr  46M Aug 22 21:16 jelly-cli-os
-rwxrwxr-x 1 piotr piotr  44M Aug 24 23:11 jelly-cli-skipflow

Throughput baseline:

$ time ./jelly-cli-os rdf transcode nanopubs.jelly > /dev/null

real    1m57,221s
user    1m47,978s
sys     0m9,163s

Throughput with this change applied:

$ time ./jelly-cli-skipflow rdf transcode nanopubs.jelly > /dev/null

real    1m56,017s
user    1m47,645s
sys     0m8,306s

So, no significant difference, but we saved some binary size.

Copy link
Collaborator

@Karolina-Bogacka Karolina-Bogacka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Options look reasonable

@Karolina-Bogacka Karolina-Bogacka merged commit 6aebcc5 into main Aug 24, 2025
7 checks passed
@Karolina-Bogacka Karolina-Bogacka deleted the GH-195/skipflow branch August 24, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants