summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorLukas '+ alert('Eipi') + ' Eipert <leipert@gitlab.com>2019-08-02 14:38:50 +0000
committerFatih Acet <acetfatih@gmail.com>2019-08-02 14:38:50 +0000
commitfc9f099884f6b98dea3f4e6110ecba6151fa75b8 (patch)
tree037c50677bea22d8e0b1733f210e08de01e32962 /changelogs
parent0fec9a4fc7fae7480a92d6402d3ad144b4bd7233 (diff)
downloadgitlab-ce-fc9f099884f6b98dea3f4e6110ecba6151fa75b8.tar.gz
Prevent empty classes in ansi2html conversion
Currently we write out empty CSS classes (`class=""`) every time we create a new tag. This adds 9 unnecessary bytes per span element. In a recent trace, I have counted 11950 span elements. So we transported 105 unnecessary kilobytes!
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/leipert-improve-ansi2html.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/leipert-improve-ansi2html.yml b/changelogs/unreleased/leipert-improve-ansi2html.yml
new file mode 100644
index 00000000000..dd3582b3434
--- /dev/null
+++ b/changelogs/unreleased/leipert-improve-ansi2html.yml
@@ -0,0 +1,5 @@
+---
+title: Improve job log rendering performance
+merge_request: 31262
+author:
+type: performance