tunemygc 1.0.58 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/tunemygc/snapshotter.rb +3 -1
- data/lib/tunemygc/syncer.rb +1 -0
- data/lib/tunemygc/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce809f235e4c395a5d687ccf2e1dda5d6942c589
|
|
4
|
+
data.tar.gz: f70ae8f2f0700eceeda6d7063430cc77d1443811
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b10c4065bea89612093d956bdb45be5f7dfe4484e96c3fd4da32021baec7b951668ce75907a15d1c66568fa03c35227a2fddb9afbcfdade561f28909af56634b
|
|
7
|
+
data.tar.gz: 9e68623b236b8dbf74a1656de9eff0627c6cb5770e8d32937591e96e35e5f079f4ffabb6ac5002794c668839b1beac39cd7a9de584c944aab5dd2866e04664e2
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -147,9 +147,9 @@ export RUBY_GC_OLDMALLOC_LIMIT_GROWTH_FACTOR=1.2
|
|
|
147
147
|
|
|
148
148
|
We're busy working on adding tips on the report URLs for some common problem contexts.
|
|
149
149
|
|
|
150
|
-
#### Heroku and
|
|
150
|
+
#### Heroku, 12 factor and PaaS platforms
|
|
151
151
|
|
|
152
|
-
We have a [Heroku](http://www.heroku.com) addon in Alpha testing and the Ruby GC lends itself well to tuning through [12 factor](http://12factor.net) principles as it's designed around environment variables.
|
|
152
|
+
We have a [Heroku](http://www.heroku.com) addon in Alpha / Beta testing and the Ruby GC lends itself well to tuning through [12 factor](http://12factor.net) principles as it's designed around environment variables. Ping us at <tunemygc@bearmetal.eu> with your Heroku email for an invite.
|
|
153
153
|
|
|
154
154
|
#### Custom hooks for add hoc scripts
|
|
155
155
|
|
data/lib/tunemygc/snapshotter.rb
CHANGED
|
@@ -52,7 +52,9 @@ module TuneMyGc
|
|
|
52
52
|
|
|
53
53
|
def _buffer(snapshot)
|
|
54
54
|
if snapshot[3] =~ TERMINATED || size < MAX_SAMPLES
|
|
55
|
-
self.unit_of_work
|
|
55
|
+
unless self.unit_of_work
|
|
56
|
+
self.unit_of_work = true if snapshot[3] =~ UNITS_OF_WORK
|
|
57
|
+
end
|
|
56
58
|
@buffer << snapshot
|
|
57
59
|
else
|
|
58
60
|
TuneMyGc.log "Discarding snapshot #{snapshot.inspect} (max samples threshold of #{MAX_SAMPLES} reached)"
|
data/lib/tunemygc/syncer.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.59
|
|
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-
|
|
11
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
193
193
|
version: '0'
|
|
194
194
|
requirements: []
|
|
195
195
|
rubyforge_project:
|
|
196
|
-
rubygems_version: 2.
|
|
196
|
+
rubygems_version: 2.4.5
|
|
197
197
|
signing_key:
|
|
198
198
|
specification_version: 4
|
|
199
199
|
summary: TuneMyGC - optimal MRI Ruby 2.1+ Garbage Collection
|
|
@@ -209,3 +209,4 @@ test_files:
|
|
|
209
209
|
- test/test_railtie.rb
|
|
210
210
|
- test/test_snapshotter.rb
|
|
211
211
|
- test/test_syncer.rb
|
|
212
|
+
has_rdoc:
|