Commit f880948
Replace remote_cache_hits with more detailed runner_count.
Improvement on #7714.
```
$ bazel build --internal_spawn_scheduler --strategy=Javac=dynamic --config=remote --build_event_json_file=/tmp/bep.json //src:bazel
$ cat /tmp/bep.json | jq '.buildMetrics.actionSummary.runnerCount | select( . != null)'
[
{
"name": "total",
"count": 2698
},
{
"name": "remote cache hit",
"count": 2259
},
{
"name": "internal",
"count": 60
},
{
"name": "local",
"count": 1
},
{
"name": "remote",
"count": 63
},
{
"name": "worker",
"count": 315
}
]
```
PiperOrigin-RevId: 3857253541 parent 9015f38 commit f880948
File tree
2 files changed
+19
-6
lines changed- src/main/java/com/google/devtools/build/lib
- buildeventstream/proto
- metrics
2 files changed
+19
-6
lines changedLines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | 839 | | |
843 | 840 | | |
844 | 841 | | |
| |||
856 | 853 | | |
857 | 854 | | |
858 | 855 | | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
859 | 865 | | |
860 | 866 | | |
861 | 867 | | |
| |||
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
236 | 237 | | |
237 | 238 | | |
238 | 239 | | |
| 240 | + | |
239 | 241 | | |
240 | | - | |
241 | | - | |
242 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
243 | 250 | | |
244 | 251 | | |
245 | 252 | | |
| |||
0 commit comments