diff options
author | Stan Hu <stanhu@gmail.com> | 2018-08-21 10:47:04 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-08-22 06:28:31 -0700 |
commit | 5138d659b5b16ebeadf37165bc461c5906f53e8e (patch) | |
tree | 9bd8f39002d58b8312cd0455f2e30e3aa2db13a3 /changelogs | |
parent | f3d9e19b02b57a15d9ba34b2bfd8756b3eb8b2bd (diff) | |
download | gitlab-ce-5138d659b5b16ebeadf37165bc461c5906f53e8e.tar.gz |
Speed up diff comparisons by limiting number of commit messages rendered
When a diff has a significant number of commits, the previous behavior would
attempt to render the Markdown on all the commit messages but only display
1000 of them. To avoid additional work, we only need to render the Markdown
on the set that is displayed.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/sh-limit-commit-renderering.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-limit-commit-renderering.yml b/changelogs/unreleased/sh-limit-commit-renderering.yml new file mode 100644 index 00000000000..c44c67bcc90 --- /dev/null +++ b/changelogs/unreleased/sh-limit-commit-renderering.yml @@ -0,0 +1,5 @@ +--- +title: Speed up diff comparisons by limiting number of commit messages rendered +merge_request: 21335 +author: +type: performance |