Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331983 - PBS Java Proxy size reduction: class dependency analysis (BCEL) followed by compression (pack200+GZIP)
Summary: PBS Java Proxy size reduction: class dependency analysis (BCEL) followed by c...
Status: RESOLVED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: RM.PBS (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Greg Watson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 02:40 EST by Dieter Krachtus CLA
Modified: 2011-05-25 18:58 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter Krachtus CLA 2010-12-07 02:40:07 EST
PBS Java server size increasingly becomes a problem. This is a showcase detailing a multi-step size reduction approach and its integration in the ANT build process. Below are performance and size reduction assessments.

Get started by reading the instructions in build_small.xml in the project org.eclipse.ptp.rm.pbs.jproxy

Size-Assessment:
We start with a given pbs server jar containing many unnecessary classes since it was created using the Eclipse export
mechanism that includes all dependend projects. Size: 30 MB

Jar after dependency analysis: 1 MB
Jar after compression (pack200+GZip): 350 kb


Performance-Assessment:
timestamp: [echo] Step #1: Creating dependency fileset 12/07/2010 08:11:42 AM

timestamp: [echo] Step #2: Create jar from dependecy fileset 12/07/2010 08:11:42 AM
[jar] Building jar: D:\workspace_flockingwords\_ant_bcel_bugfix\test-minim
al.jar

pack200-jar:
timestamp: [echo] Step #3: Compressing Jar (Pack200+GZip) 12/07/2010 08:11:45 AM

BUILD SUCCESSFUL
Total time: 5 seconds
Comment 1 Greg Watson CLA 2011-05-25 18:58:33 EDT
Superceded by new JAXB resource manager. Reopen if you think it's still relevant.