Improved jvm compile partitioning algorithm.

Review Request #349 — Created May 14, 2014 and submitted

benjyw
pants
pants-reviews
patricklaw
Adds a heuristic to put locally-edited files
in their own partition.

See comments in code for explanation of the reasons for this.


PA
  1. 
      
  2. src/python/pants/tasks/task.py (Diff revision 1)
     
     
    Maybe this should be configurable from pants.ini?  Seems like the sort of thing advanced users would want to tune.
    1. Good idea. Added a config key for this, and setting it to zero (or omitting it) turns the feature off. So now it's opt-in for each of java|scala, and the limit is configurable.
  3. 
      
PA
  1. Ship It!
  2. 
      
BE
Review request changed

Status: Closed (submitted)

Loading...