Investigate Merge Request Diff Generation in Gitaly
Problem Statement
Creating diffs for merge requests can be an expensive operation. In an effort to improve the performance of the merge request view, we are looking for ways to make diff generation more efficient.
Investigation Goal
Is there a way we could leverage Gitaly to generate the diffs so we do not need to do it in the Rails app, which seems to be less efficient.