Commit Graph

23 Commits

Author SHA1 Message Date
GitLab Bot 14c866bb2f Add latest changes from gitlab-org/gitlab@master 2021-11-03 06:10:20 +00:00
GitLab Bot 5cd68a92fa Add latest changes from gitlab-org/gitlab@master 2021-09-08 09:09:10 +00:00
GitLab Bot 53ea1228be Add latest changes from gitlab-org/gitlab@master 2021-09-03 12:09:03 +00:00
GitLab Bot a1ed241c82 Add latest changes from gitlab-org/gitlab@master 2021-02-03 21:09:17 +00:00
Sergey Alekseev f30b1d61d9 Speed up boot time
by removing an unused `begin ... rescue ... end` block. The block is no longer necessary after moving the bootsnap gem to the :default group in eedf735574.
2019-07-23 20:17:59 +00:00
Stan Hu eedf735574 Make Bootsnap available via ENABLE_BOOTSNAP=1
Bootsnap speeds up Rails loading and now ships by default with Rails 5.2
apps. We should promote this to a default gem and test it out in
production. This will also make it possible for the Helm Charts to take
advantage of this.

It appears that Bootsnap with Rails 5.2.3 and all the GitLab CE gems
loads fine on an ARM platform now, so it's possible that
https://gitlab.com/gitlab-org/gitlab-ce/issues/34799 has been resolved.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/45230
2019-07-19 13:13:44 -07:00
Aleksei Lipniagov f44719f39c Get memory data after booting app in production
Preload the app in `production` env, hit it with a single request, and
gather total gem memory consumption data using `derailed exec perf:mem`
from `derailed_benchmarks`. Present the result as MR metrics.
2019-06-28 20:12:50 +03:00
Rémy Coutable 7c38c0b4b2 Revert "Merge branch '62722-boot-app-in-ci-and-check-memory' into 'master'"
This reverts merge request !30031
2019-06-28 15:55:54 +00:00
Aleksei Lipniagov fb1d433703 Get memory data after booting app in production
Preload the app in `production` env, hit it with a single request, and
gather total gem memory consumption data using `derailed exec perf:mem`
from `derailed_benchmarks`. Present the result as MR metrics.
2019-06-28 13:49:57 +03:00
Jasper Maes 44fef4fe4c Remove rails 4 support in CI, Gemfiles, bin/ and config/ 2018-12-14 19:36:22 +01:00
Takuya Noguchi e902f462c2 Eliminate duplicated words
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-22 01:01:23 +09:00
Jan Provaznik 547dc7ac60 Switch to Rails 5 by default
* updates Gemfile
* uses Rails 5 unless explicitly disabled
2018-11-14 12:38:30 +01:00
Gabriel Mazetto 31a349e0db Add bootsnap to development/test bundle and enable it if available
This will enable bootsnap whenver the gem is available.
2018-07-20 14:16:01 +02:00
blackst0ne 36bedfb7f3 [Rails5] Update files by `rails app:update` 2018-03-22 09:37:57 +11:00
Paweł Chojnacki 2c3d52161a Update Prometheus gem to version that explicitly calls `munmap` 2017-07-19 08:54:39 +00:00
Marin Jankovski 97a6ec4aaa Revert "Merge branch 'update_bootsnap_1.1.1' into 'master'"
This reverts commit 83ec509ce4, reversing
changes made to 57f0677ad8.
2017-07-10 17:29:15 +02:00
blackst0ne b56db33381 Bump bootsnap to 1.1.1 2017-06-27 10:11:29 +11:00
Robert Speicher 171e1bb445 Revert "Merge branch 'rs-bootsnap' into 'master'"
This reverts commit 95138a9c16, reversing
changes made to 66aad16d1a.
2017-06-22 11:54:35 -05:00
Pawel Chojnacki ed5c7d11b1 Do not enable prometheus metrics when data folder is not present.
+ Set defaults correctly only for when not in production or staging
+ set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru

Test prometheus metrics unmemoized
2017-06-19 18:52:23 +02:00
Pawel Chojnacki f982fef9b5 set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru 2017-06-15 23:41:47 +02:00
Robert Speicher f331bbefec Add Bootsnap to all environments to reduce application startup time 2017-06-08 18:26:23 -04:00
Connor Shea 9cc0937b3a Enable the Rubocop DeprecatedClassMethods cop
This reports uses of `File.exists?` and `Dir.exists?`, which were both
deprecated in Ruby and will eventually be removed in favor of
`.exist?`. Also fixes all existing uses of the deprecated methods.
2016-05-08 15:33:34 -06:00
gitlabhq 9ba1224867 init commit 2011-10-09 00:36:38 +03:00