summaryrefslogtreecommitdiff
path: root/lib/backup/artifacts.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-12-30 18:16:53 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-12-31 15:46:47 +0100
commit054df415f94abe1e517a729e53cdb325d592d31b (patch)
treeb7e5d560e39f05fdae0e5ee0ba654739eab59094 /lib/backup/artifacts.rb
parentd3951dfaa13b9aaf11695ef10fa63456ac75cc48 (diff)
downloadgitlab-ce-autocomplete-performance.tar.gz
Optimize CSS expressions produced by Nokogiriautocomplete-performance
Nokogiri produces inefficient XPath expressions when given CSS expressions such as "a.gfm". Luckily these expressions can be optimized quite easily while still achieving the same results. In the two cases where this optimization is applied the run time has been reduced from around 170 ms to around 15 ms.
Diffstat (limited to 'lib/backup/artifacts.rb')
0 files changed, 0 insertions, 0 deletions