diff options
author | ulfjack <ulfjack@google.com> | 2017-06-27 13:27:16 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-06-27 15:06:12 +0200 |
commit | 0d007ff5c17b17bbfa2bdb0704927c9a31d5d0ac (patch) | |
tree | 651a9976ac3888015a5c7a120326cec306591048 /tools/build_defs/apple | |
parent | fb43f04ac488e5056b875912c8583eac2acf9eed (diff) |
Simplify the RemoteActionCache interface
- merge all the inputs upload functionality into a single ensureInputsPresent
method
- merge all of the action result upload functionality into a single upload
method
- merge all the download functionality into a single download method
This significantly simplifies the caller of this interface, and opens the door
for additional performance improvements in implementations which now have more
control over the upload / download flows; in particular, in the gRPC case, we
can upload stdout / stderr using the existing chunker - upload of stdout /
stderr is no longer serialized with file upload.
In particular, the CachedLocalSpawnRunner test becomes much simpler, since it
no longer needs to handle the previous more complex upload code path.
PiperOrigin-RevId: 160260161
Diffstat (limited to 'tools/build_defs/apple')
0 files changed, 0 insertions, 0 deletions