Skip to content

Reduce size of generated client libraries#3748

Open
apache-hb wants to merge 1 commit intoaws:mainfrom
apache-hb:shrink
Open

Reduce size of generated client libraries#3748
apache-hb wants to merge 1 commit intoaws:mainfrom
apache-hb:shrink

Conversation

@apache-hb
Copy link
Contributor

@apache-hb apache-hb commented Mar 14, 2026

Reduce the size of generated client libraries by deduplicating operation bodies. In my testing this reduces the size of client libraries by between 25% and 50% depending on the number of operations a service has. As an example 23M libaws-cpp-sdk-ec2-before.so becomes 14M libaws-cpp-sdk-ec2-after.so.

I didn't touch the code generation for streaming methods as they're not very common and are alot harder to test than the request response operations.

@apache-hb apache-hb changed the title reduce size of generated client libraries Reduce size of generated client libraries Mar 14, 2026
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.

1 participant