summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-19 13:00:46 -0700
committerStan Hu <stanhu@gmail.com>2019-07-19 13:13:44 -0700
commiteedf735574b9f6c7c6c843943dd946ce84238236 (patch)
tree4004417e33b7dcef1c693d878c4fdc17151d8f60 /.gitlab
parenteb3f465e75ee1fc5ef582e9f01f921626d7cf5cc (diff)
downloadgitlab-ce-eedf735574b9f6c7c6c843943dd946ce84238236.tar.gz
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
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/memory.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci/memory.gitlab-ci.yml b/.gitlab/ci/memory.gitlab-ci.yml
index ffe5dbdc31b..9923732e587 100644
--- a/.gitlab/ci/memory.gitlab-ci.yml
+++ b/.gitlab/ci/memory.gitlab-ci.yml
@@ -33,7 +33,7 @@ memory-on-boot:
NODE_OPTIONS: --max_old_space_size=3584
script:
# Both bootsnap and derailed monkey-patch Kernel#require, which leads to circular dependency
- - DISABLE_BOOTSNAP=true PATH_TO_HIT="/users/sign_in" CUT_OFF=0.3 bundle exec derailed exec perf:mem >> 'tmp/memory_on_boot.txt'
+ - ENABLE_BOOTSNAP=false PATH_TO_HIT="/users/sign_in" CUT_OFF=0.3 bundle exec derailed exec perf:mem >> 'tmp/memory_on_boot.txt'
- scripts/generate-memory-metrics-on-boot tmp/memory_on_boot.txt >> 'tmp/memory_on_boot_metrics.txt'
artifacts:
paths: