cache parsed mustache templates as they are requested

Review Request #2171 - Created May 7, 2015 and submitted

Information
Nick Howard (Twitter)
pants
1499
6bb46b9...
Reviewers
pants-reviews
benjyw, jsirois, stuhood, zundel

While looking at profiles, this popped up. I saw the todo and decided to add a cache.
Since the lookup lives under the report lock, its cost is magnified because it causes threads to wait for it.

Ran from source against a medium sized graph. CI in PR 1499

Eric Ayers
John Sirois
Nick Howard (Twitter)
Review request changed

Status: Closed (submitted)

Change Summary:

https://github.com/pantsbuild/pants/commit/4a0b3a03cde8f5066abc226728b00604e57c3134

Loading...