forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Populate classes_by_target using the context jar for the isolated str…
…ategy - Remove the option to not jar classpath outputs in the isolated strategy - Populate classes_by_target using the context jar - Add a simplified `relpath` implementation, because it was showing up inordinately hot on profiles This avoids a filesystem walk during the population of products. That means that we do one less filesystem walk when we hit the cache, or when we're populating products for an already built target. Testing Done: pantsbuild#2082 ---- For a large classpath: $ find .pants.d/compile/jvm -name '*.class' | wc -l 180463 Before: 21:31:49 00:14 [apt-pre] 21:31:49 00:14 [java-pre] 21:31:49 00:14 [zinc-pre] 21:31:51 00:16 [zinc-prepare] 21:31:51 00:16 [validate-zinc-analysis] 21:31:51 00:16 [isolation-zinc-pool-bootstrap] 21:31:51 00:16 [apt-prepare] 21:31:51 00:16 [validate-java-analysis] 21:31:51 00:16 [isolation-java-pool-bootstrap] 21:31:51 00:16 [zinc-execute] 21:32:17 00:42 [apt-execute] 21:32:17 00:42 [zinc-execute] 21:32:25 00:50 [zinc-finalize] 21:32:26 00:51 [apt-finalize] 21:32:26 00:51 [apt-post] 21:32:26 00:51 [java-post] 21:32:26 00:51 [zinc-post] After: 23:26:01 00:13 [apt-pre] 23:26:01 00:13 [java-pre] 23:26:01 00:13 [zinc-pre] 23:26:02 00:14 [apt-prepare] 23:26:02 00:14 [validate-java-analysis] 23:26:02 00:14 [isolation-java-pool-bootstrap] 23:26:02 00:14 [zinc-prepare] 23:26:02 00:14 [validate-zinc-analysis] 23:26:03 00:15 [isolation-zinc-pool-bootstrap] 23:26:03 00:15 [apt-execute] 23:26:03 00:15 [zinc-execute] 23:26:16 00:28 [apt-finalize] 23:26:16 00:28 [zinc-finalize] 23:26:16 00:28 [apt-post] 23:26:16 00:28 [java-post] 23:26:16 00:28 [zinc-post] Reviewed at https://rbcommons.com/s/twitter/r/2720/
- Loading branch information
Showing
8 changed files
with
76 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters