diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2019-03-07 09:22:05 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-03-07 09:22:05 +0000 |
commit | c49d4a4985c806aa62dcd4899013143484b5d3c6 (patch) | |
tree | ad43a15e05364b9e24c3eceb9de37b8e37afb51a /changelogs | |
parent | 80fea82f3ab6afd486884020710eb01c06b048d9 (diff) | |
download | gitlab-ce-c49d4a4985c806aa62dcd4899013143484b5d3c6.tar.gz |
Improve files_decorator performance
**How?**
Previously the files_decorator inserted parent folders inefficiently.
It started at the first part and ensured each was inserted.
Since the file entries are given to use in alphabetical order, we can
start at the last part of the blob's parents. If this exists, we can
short circuit and be done inserting parents.
**What else?**
- Improve performance of decorateData. The object spread operator is
not needed because the object is brand new.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/53336-improve-web-ide-launch-performance.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/53336-improve-web-ide-launch-performance.yml b/changelogs/unreleased/53336-improve-web-ide-launch-performance.yml new file mode 100644 index 00000000000..65439f5a6c2 --- /dev/null +++ b/changelogs/unreleased/53336-improve-web-ide-launch-performance.yml @@ -0,0 +1,5 @@ +--- +title: Improve Web IDE launch performance +merge_request: 25700 +author: +type: performance |