tunemygc 1.0.54 → 1.0.55
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tunemygc/agent.rb +1 -0
- data/lib/tunemygc/interposer.rb +2 -2
- 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: c9bc21ec0d45e156bf1a8646f766c5e2faef5b50
|
4
|
+
data.tar.gz: 575e3a4b82a1eb2fca4c7f4dd1c66e8763909a8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2cd02a42b1e7f8af391cb2146d803cb006152e3b7288ebcac0ae26920dd1c045b7b0165d51100b4a220320a02f75cd78207c59ec988e7d0f4a56269583eebff
|
7
|
+
data.tar.gz: 9c53a726d80c244e7db4cb7386091aaa7fe2931e2757618c39e93910b337f7494dea7d81f9097c743fc617181cc55b9a819e4ee2e143f80bdc68d1131f2e8910
|
data/lib/tunemygc/agent.rb
CHANGED
data/lib/tunemygc/interposer.rb
CHANGED
@@ -20,7 +20,7 @@ module TuneMyGc
|
|
20
20
|
GC.start(full_mark: true, :immediate_sweep => true)
|
21
21
|
TuneMyGc.install_gc_tracepoint
|
22
22
|
TuneMyGc.log "hooked: GC tracepoints"
|
23
|
-
TuneMyGc.snapshot(:BOOTED, ObjectSpace.count_objects)
|
23
|
+
TuneMyGc.snapshot(:BOOTED, ObjectSpace.count_objects.merge(:memsize => ObjectSpace.memsize_of_all))
|
24
24
|
TuneMyGc.interposer.spies.each{|s| s.install }
|
25
25
|
end
|
26
26
|
|
@@ -41,7 +41,7 @@ module TuneMyGc
|
|
41
41
|
if @installed
|
42
42
|
TuneMyGc.log "at_exit"
|
43
43
|
@spies.each{|s| s.uninstall }
|
44
|
-
TuneMyGc.snapshot(:TERMINATED, ObjectSpace.count_objects)
|
44
|
+
TuneMyGc.snapshot(:TERMINATED, ObjectSpace.count_objects.merge(:memsize => ObjectSpace.memsize_of_all))
|
45
45
|
TuneMyGc.reccommendations
|
46
46
|
end
|
47
47
|
end
|
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.55
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|