Re: Compressed jars
From: John C. Bollinger (jobollin_at_indiana.edu)
Date: 03/25/04
- Next message: Victor Engmark: "Ant / checkstyle support for JSP documents?"
- Previous message: Darryl L. Pierce: "Re: Class.getField("fieldname") in j2me"
- In reply to: Barney: "Compressed jars"
- Next in thread: Thomas Schodt: "Re: Compressed jars"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Mar 2004 11:36:18 -0500
Barney wrote:
> Can compressing a jar cause a performance loss in a standalone java program?
At such a general level one can only answer "yes". It's sort of like
asking "Can eating food cause a person to gain weight?" in that way.
The more pertinent questions that should follow include:
() How much of a loss?
() At what point(s) in the program?
() Under what conditions?
() Can the loss (if any) be masked or mitigated?
The answers depend considerably on a fairly large number of details.
An answer to what you may really want to know is that an application
running from classes packaged in a compressed jar will probably suffer a
very small once-per-class performance penalty with respect to the same
application running against an uncompressed jar. It is unlikely that
you would notice the difference.
John Bollinger
jobollin@indiana.edu
- Next message: Victor Engmark: "Ant / checkstyle support for JSP documents?"
- Previous message: Darryl L. Pierce: "Re: Class.getField("fieldname") in j2me"
- In reply to: Barney: "Compressed jars"
- Next in thread: Thomas Schodt: "Re: Compressed jars"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|