Skip to content

smaller jar with fewer dependencies? #1168

Answered by nielsbasjes
goodale asked this question in Q&A
Discussion options

You must be logged in to vote

I pulled the jar apart and did some stats on the compressed content for version 7.22.0.

Summary: There is no way to reduce the size any further.

Group Compressed bytes Percentage of compressed file Purpose 
META-INF/ 4614 0.2% Needed in any jar
nl/basjes/parse/useragent/ 402560 19.5% The analyzer engine
nl/basjes/parse/useragent/parser/ 224837 10.9% The generated useragent parser
nl/basjes/parse/useragent/utils/publicsuffixlist/ 7802 0.4% Handling the domain suffixes
nl/basjes/parse/useragent/utils/springframework/ 103203 5.0% Dynamically finding the available yaml files
nl/basjes/shaded/org/antlr/ 256797 12.4% Runtime for the generated parser
nl/basjes/shaded/org/yaml/…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nielsbasjes
Comment options

Answer selected by nielsbasjes
@goodale
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants