analyzer 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/analyzer/rss.rb +2 -2
- data/lib/analyzer/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 796165e7b6c23de07d5176ae67c8cd9aa7dc8266afa35164fd243e47ca3a9725
|
4
|
+
data.tar.gz: 39a312f376d0254f9643672a54a5a7927c379c84e74e020fae6a2c06775e25a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abe9db44c008c686a0cf72a591852b8ffd0136ab13034a40afca9c908ea0a5671d55b7f7898eccf26b0a319c4653e659253606e343c8cf036e1050440e3298a3
|
7
|
+
data.tar.gz: 69f966495135331c331599167126f4bc9efb358ed49f75d5c6e872b9eb90370dac9d27ec258f8b0f623fc92a6292610ba9eba145a880fffddb93b8afc1405dda
|
data/lib/analyzer/rss.rb
CHANGED
@@ -39,8 +39,8 @@ class Analyzer
|
|
39
39
|
# Pull memory from `ps` command, takes more resources and can freeze
|
40
40
|
# in low memory situations
|
41
41
|
def ps_memory
|
42
|
-
KB_TO_BYTE * BigDecimal
|
42
|
+
KB_TO_BYTE * BigDecimal(`ps -o rss= -p #{@pid}`)
|
43
43
|
end
|
44
44
|
|
45
45
|
end
|
46
|
-
end
|
46
|
+
end
|
data/lib/analyzer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: analyzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.7'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- jonbracy@gmail.com
|
30
30
|
executables:
|
@@ -49,7 +49,7 @@ licenses:
|
|
49
49
|
- MIT
|
50
50
|
metadata:
|
51
51
|
source_code_uri: https://github.com/malomalo/analyzer
|
52
|
-
post_install_message:
|
52
|
+
post_install_message:
|
53
53
|
rdoc_options: []
|
54
54
|
require_paths:
|
55
55
|
- lib
|
@@ -65,9 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
version: '0'
|
66
66
|
requirements:
|
67
67
|
- gnuplot
|
68
|
-
|
69
|
-
|
70
|
-
signing_key:
|
68
|
+
rubygems_version: 3.2.22
|
69
|
+
signing_key:
|
71
70
|
specification_version: 4
|
72
71
|
summary: A Performance analyzer for Ruby
|
73
72
|
test_files: []
|