diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-06-21 10:53:16 -0400 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-06-21 10:53:16 -0400 |
commit | ca696175dbbf664f25a87a300b99f2b97fa5db70 (patch) | |
tree | 94c7783f530a24b1344475beb913f53a9c91b37c /CHANGELOG | |
parent | 5804b6a0a28a20b1977ab89e04b15b85475b49e0 (diff) | |
download | gitlab-ce-ca696175dbbf664f25a87a300b99f2b97fa5db70.tar.gz |
Optimize Banzai::Filter::RelativeLinkFilter
A lot of git operations were being repeated, for example, to build a url
you would ask if the path was a Tree, which would call a recursive routine
in Gitlab::Git::Tree#where, then ask if the path was a Blob, which would
call a recursive routine at Gitlab::Git::Blob#find, making reference to
the same git objects several times. Now we call Rugged::Tree#path, which
allows us to determine the type of the path in one pass.
Some other minor improvement added, like saving commonly used references
instead of calculating them each time.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 3c80936468b..5a123d90670 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ v 8.9.0 (unreleased) - Bulk assign/unassign labels to issues. - Ability to prioritize labels !4009 / !3205 (Thijs Wouters) - Show Star and Fork buttons on mobile. + - Performance improvements on RelativeLinkFilter - Fix endless redirections when accessing user OAuth applications when they are disabled - Allow enabling wiki page events from Webhook management UI - Bump rouge to 1.11.0 |