diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-06-25 09:34:31 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-06-25 09:34:31 +0000 |
commit | e3fa9d122b0a593b0c6441a35cbad8ab6c8e70b9 (patch) | |
tree | ced5918a0a6d590e20283856afc142d27380b5ce /.gitlab | |
parent | b08b036d837065c0530e1e57ed95976a88c3cf93 (diff) | |
parent | 940fcc9ff2d53bcfb050e402b3defa8619cce592 (diff) | |
download | gitlab-ce-e3fa9d122b0a593b0c6441a35cbad8ab6c8e70b9.tar.gz |
Merge branch '62722-add-gem-size-data-to-metrics-report' into 'master'
Add gem size information to metrics.txt in memory CI artifacts
See merge request gitlab-org/gitlab-ce!29827
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/memory.gitlab-ci.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.gitlab/ci/memory.gitlab-ci.yml b/.gitlab/ci/memory.gitlab-ci.yml index 50b843df585..2f3907a331a 100644 --- a/.gitlab/ci/memory.gitlab-ci.yml +++ b/.gitlab/ci/memory.gitlab-ci.yml @@ -5,15 +5,15 @@ memory-static: # Loads each of gems in the Gemfile and checks how much memory they consume when they are required. # 'derailed_benchmarks' internally uses 'get_process_mem' - - scripts/memory-static 'tmp/memory_static_full_report.txt' 'tmp/memory_static_metrics.txt' + - bundle exec derailed bundle:mem > tmp/memory_bundle_mem.txt + - scripts/generate-gems-size-metrics-static tmp/memory_bundle_mem.txt >> 'tmp/memory_metrics.txt' # Outputs detailed information about objects created while gems are loaded. # 'derailed_benchmarks' internally uses 'memory_profiler' - - scripts/memory-static-objects 'tmp/memory_static_objects_full_report.txt' 'tmp/memory_static_metrics.txt' + - bundle exec derailed bundle:objects > tmp/memory_bundle_objects.txt + - scripts/generate-gems-memory-metrics-static tmp/memory_bundle_objects.txt >> 'tmp/memory_metrics.txt' artifacts: paths: - - tmp/memory_static_full_report.txt - - tmp/memory_static_objects_full_report.txt - - tmp/memory_static_metrics.txt + - tmp/memory_*.txt reports: - metrics: tmp/memory_static_metrics.txt + metrics: tmp/memory_metrics.txt |