Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
75ef1ffc
Commit
75ef1ffc
authored
Feb 18, 2021
by
Matthias Kaeppler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tune Ruby GC sampler histogram buckets
parent
24a265ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/gitlab/metrics/samplers/ruby_sampler.rb
lib/gitlab/metrics/samplers/ruby_sampler.rb
+1
-1
No files found.
lib/gitlab/metrics/samplers/ruby_sampler.rb
View file @
75ef1ffc
...
@@ -7,7 +7,7 @@ module Gitlab
...
@@ -7,7 +7,7 @@ module Gitlab
module
Samplers
module
Samplers
class
RubySampler
<
BaseSampler
class
RubySampler
<
BaseSampler
DEFAULT_SAMPLING_INTERVAL_SECONDS
=
60
DEFAULT_SAMPLING_INTERVAL_SECONDS
=
60
GC_REPORT_BUCKETS
=
[
0.0
05
,
0.01
,
0.02
,
0.04
,
0.07
,
0.1
,
0.5
].
freeze
GC_REPORT_BUCKETS
=
[
0.0
1
,
0.05
,
0.1
,
0.2
,
0.3
,
0.5
,
1
].
freeze
def
initialize
(
*
)
def
initialize
(
*
)
GC
::
Profiler
.
clear
GC
::
Profiler
.
clear
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment