Convert loose directories in bundle classpath into jars

Review Request #3297 - Created Jan. 5, 2016 and submitted

Information
Peiyu Wang
pants
2771
3851, 3304
Reviewers
pants-reviews
nhoward_tw, patricklaw, stuhood, zundel

For large targets, loading resources from jars is more efficient than loading
them as individual files. In our test, for a classpath with 1k+ resource
directories, saving is about 10-20% app startup time.

Note in theory, run and junit can also benefit from this optimization, to make
that happen, we need to prepare junit runner so extracts jars if necessary before
running tests that expect directories, not a priority for now.

https://travis-ci.org/peiyuwang/pants/builds/100423380

Issues

  • 0
  • 3
  • 0
  • 3
Description From Last Updated
Patrick Lawson
Eric Ayers
Stu Hood
Stu Hood
Peiyu Wang
Review request changed

Status: Closed (submitted)

Change Summary:

Commited as c7097307724b6205e83f1bd96e563773794a75b4

Loading...