Merge branch '65509-improve-gc-report-buckets-granularity' into 'master'
Improve GC_REPORT_BUCKETS granularity See merge request gitlab-org/gitlab-ce!32586
This commit is contained in:
commit
1cb0fa18df
|
@ -6,7 +6,7 @@ module Gitlab
|
||||||
module Metrics
|
module Metrics
|
||||||
module Samplers
|
module Samplers
|
||||||
class RubySampler < BaseSampler
|
class RubySampler < BaseSampler
|
||||||
GC_REPORT_BUCKETS = [0.001, 0.002, 0.005, 0.01, 0.05, 0.1, 0.5].freeze
|
GC_REPORT_BUCKETS = [0.005, 0.01, 0.02, 0.04, 0.07, 0.1, 0.5].freeze
|
||||||
|
|
||||||
def initialize(interval)
|
def initialize(interval)
|
||||||
GC::Profiler.clear
|
GC::Profiler.clear
|
||||||
|
|
Loading…
Reference in New Issue