Commit a752c885 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'mk-tune-ruby-gc-buckets' into 'master'

Tune Ruby GC sampler histogram buckets

See merge request gitlab-org/gitlab!54543
parents c2c158fb 75ef1ffc
......@@ -7,7 +7,7 @@ module Gitlab
module Samplers
class RubySampler < BaseSampler
DEFAULT_SAMPLING_INTERVAL_SECONDS = 60
GC_REPORT_BUCKETS = [0.005, 0.01, 0.02, 0.04, 0.07, 0.1, 0.5].freeze
GC_REPORT_BUCKETS = [0.01, 0.05, 0.1, 0.2, 0.3, 0.5, 1].freeze
def initialize(*)
GC::Profiler.clear
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment