Group cache hits/misses by their task names

Review Request #3137 - Created Nov. 17, 2015 and submitted

Information
Peiyu Wang
pants
peiyuwang:peiyu/distinguish-cache-misses
2582
0df3940...
Reviewers
pants-reviews
benjyw, qma, stuhood, zundel

Currently in run_tracker hits/misses are all under the same cache_name 'default', so we see this in pants server

[Artifact cache stats]
default artifact cache: 30 hits, 1 miss.

This PR groups hits/misses by their task name

[Artifact cache stats]
Checkstyle_test_checkstyle artifact cache: 7 hits, 0 misses.IvyResolve_resolve_ivy artifact cache: 8 hits, 0 misses.ZincCompile artifact cache: 6 hits, 1 miss.BootstrapJvmTools_bootstrap_bootstrap_jvm_tools artifact cache: 9 hits, 0 misses.

This PR also includes batching writes to the local report files, a minor performance improvement.

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

Peiyu Wang
Eric Ayers
Benjy Weinberger
Peiyu Wang
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as d7abc6e7e4ad3571d7ada8b007b11df83ca04eeb

Loading...