tunemygc 1.0.57 → 1.0.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -9
- data/lib/tunemygc.rb +3 -3
- data/lib/tunemygc/agent.rb +1 -1
- data/lib/tunemygc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9293d59fa62e890c5d82db4cc029ada839d09375
|
4
|
+
data.tar.gz: ebd4978966df7b64a6de2c8fcf84ee0dbc1b4c71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96e917596a9b87e6b63626ee3af76d0d91d48518f78539cf8630f4ec797f81ca051b634373f5765977f17f15a61be34bcb048228d277268b376374ab09475b4b
|
7
|
+
data.tar.gz: 32fa7fbc35cfc1ab35c3226b5eb10d9a84ecced8209825cb1fccd25429a9c104fcff2dae939d7ff6c2b72be30d4ecc88866ee86d1b6c6f13d774eb55fc5a8a6e
|
data/README.md
CHANGED
@@ -58,9 +58,9 @@ RUBY_GC_TOKEN=08de9e8822c847244b31290cedfc1d51 RUBY_GC_TUNE=200 bundle exec rail
|
|
58
58
|
And after some profiling requests, when the process terminates, you can visit the given report URL for a config recommendation and some further insights:
|
59
59
|
|
60
60
|
``` sh
|
61
|
-
[
|
62
|
-
[
|
63
|
-
[
|
61
|
+
[tunemygc, pid: 70160] Syncing 688 snapshots
|
62
|
+
[tunemygc, pid: 70160] ==== Recommended GC configs for ActionController
|
63
|
+
[tunemygc, pid: 70160] Please visit https://tunemygc.com/configs/d739119e4abc38d42e183d1361991818 to view your configuration and other Garbage Collector insights
|
64
64
|
```
|
65
65
|
|
66
66
|
The CLI interface supports retrieving configuration options for your application as well.
|
@@ -101,9 +101,9 @@ RUBY_GC_TOKEN=08de9e8822c847244b31290cedfc1d51 RUBY_GC_TUNE=200 bundle exec rail
|
|
101
101
|
And after some profiling requests, when the process terminates, you can visit the given report URL for a config recommendation and some further insights:
|
102
102
|
|
103
103
|
``` sh
|
104
|
-
[
|
105
|
-
[
|
106
|
-
[
|
104
|
+
[tunemygc, pid: 70160] Syncing 688 snapshots
|
105
|
+
[tunemygc, pid: 70160] ==== Recommended GC configs for ActionController
|
106
|
+
[tunemygc, pid: 70160] Please visit https://tunemygc.com/configs/d739119e4abc38d42e183d1361991818 to view your configuration and other Garbage Collector insights
|
107
107
|
```
|
108
108
|
|
109
109
|
#### Advanced
|
@@ -121,9 +121,9 @@ This gem is only a lightweight agent and designed to not get in your way. It sam
|
|
121
121
|
An instrumented process dumps a report URL with a reccommended config to the Rails logger.
|
122
122
|
|
123
123
|
``` sh
|
124
|
-
[
|
125
|
-
[
|
126
|
-
[
|
124
|
+
[tunemygc, pid: 70160] Syncing 688 snapshots
|
125
|
+
[tunemygc, pid: 70160] ==== Recommended GC configs for ActionController
|
126
|
+
[tunemygc, pid: 70160] Please visit https://tunemygc.com/configs/d739119e4abc38d42e183d1361991818 to view your configuration and other Garbage Collector insights
|
127
127
|
```
|
128
128
|
|
129
129
|
We're still in the process of building tools and a launcher shim around this. You can also retrieve the last known configuration for you app via the CLI interface:
|
data/lib/tunemygc.rb
CHANGED
@@ -19,13 +19,13 @@ end
|
|
19
19
|
|
20
20
|
if ENV["RUBY_GC_TUNE"] && ENV["RUBY_GC_TUNE"] != ""
|
21
21
|
if TuneMyGc.rails?
|
22
|
-
puts "[
|
22
|
+
puts "[tunemygc] Rails detected, loading railtie"
|
23
23
|
require 'tunemygc/railtie'
|
24
24
|
else
|
25
|
-
puts "[
|
25
|
+
puts "[tunemygc] Rails not detected, loading minimal agent"
|
26
26
|
require 'tunemygc/agent'
|
27
27
|
TuneMyGc.booted
|
28
28
|
end
|
29
29
|
else
|
30
|
-
puts "[
|
30
|
+
puts "[tunemygc] not enabled"
|
31
31
|
end
|
data/lib/tunemygc/agent.rb
CHANGED
data/lib/tunemygc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tunemygc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bear Metal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|