Share the python interpreter/egg caches between tests.

Review Request #2256 - Created May 22, 2015 and submitted

Information
Benjy Weinberger
pants
1587
f7166e2...
Reviewers
pants-reviews
jsirois, patricklaw, zundel
Speeds things up dramatically.

This removes the previous speed hack, and is even faster, especially
when iterating over the same test many times.  For example,

time ./pants test tests/python/pants_test/backend/python/tasks:python_eval

on my laptop takes:

~2m30s with no speed hacks.
~0m16s with the previous speed hack.
~0m9s with this speed hack.

Ran tests with timings before and after.

CI passes: https://travis-ci.org/pantsbuild/pants/builds/63585656

Note that this is mild evidence (but obviously not proof) that the concurrency stuff works.

Benjy Weinberger
Patrick Lawson
Benjy Weinberger
John Sirois
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks Patrick and John! Submitted as 22519d554a2d6c3966f44d761a06bb6758e7fbf6.

Loading...