Clone
Adam Murdoch
committed
on 14 Apr 17
Improved performance when searching for the result of an artifact transform.
Assume that files and directories that live in the downloaded a… Show more
Improved performance when searching for the result of an artifact transform.

Assume that files and directories that live in the downloaded artifact cache or artifact transform output cache are unlikely to change during a build, and so calculate the content hash for these files only once per build. A previous change removed the multiple scanning of these files, however, the calculation of the hash from the snapshot is currently still expensive, so do this only once per build.

Maintain a faster in-memory cache of transform -> result, in order to check whether the result still exists once per build.

Show less

master + 478 more