Commit graph

8 commits

Author SHA1 Message Date
Stan Hu
198f2a0b61 Use Nokogiri as the ActiveSupport XML backend
This significantly improves performance and reduces memory consumption
when parsing XML files. On a test with 124 JUnit files from a CE build,
there was about a 4x reduction in processing time.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54068
2018-11-16 00:23:36 -08:00
Lin Jen-Shin
d045df3da8 Allow CE do nothing if route doesn't exist 2018-10-26 14:27:05 +08:00
Grzegorz Bizon
e9cf1020de Improve fast specs helper to autoload the library 2018-05-11 13:33:10 +02:00
Kamil Trzciński
575302c1b9 Do not preload settings 2018-04-24 19:32:06 +02:00
Rémy Coutable
2afe3a1210
Get rid of config/initializers/2_app.rb and define Gitlab in lib/gitlab.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 16:12:19 +02:00
Rémy Coutable
5b44097cf7
Address latest feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 13:02:07 +02:00
Rémy Coutable
c286c66f57
Move Settings to its own file, isolate it from Rails and introduce Gitlab.root
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00
Rémy Coutable
d2aee809ed
Introduce spec/fast_spec_helper.rb to run spec files that don't rely on the whole Rails env
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00