Welcome to mirror list, hosted at ThFree Co, Russian Federation.

memory.gitlab-ci.yml « ci « .gitlab - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 50b843df585dccf117a77ecfd127f9b5fee64d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
memory-static:
  extends: .dedicated-no-docs-no-db-pull-cache-job
  script:
    # Uses two different reports from the 'derailed_benchmars' gem.

    # 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'

    # 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'
  artifacts:
    paths:
      - tmp/memory_static_full_report.txt
      - tmp/memory_static_objects_full_report.txt
      - tmp/memory_static_metrics.txt
    reports:
      metrics: tmp/memory_static_metrics.txt