Currently, Gitaly calculates tree entries for a directory of each requested file
This MR caches tree entries for revision and dir
https://gitlab.com/gitlab-org/gitlab-ce/issues/53492