perfmonger 0.10.2 → 0.11.0
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/.gitignore +3 -0
- data/.travis.yml +6 -2
- data/HOWTO.md +0 -1
- data/NEWS +15 -6
- data/README.md +77 -27
- data/Rakefile +18 -9
- data/core/Makefile +2 -18
- data/core/build.sh +1 -1
- data/core/perfmonger-player.go +71 -40
- data/core/perfmonger-plot-formatter.go +18 -4
- data/core/perfmonger-recorder.go +16 -2
- data/core/perfmonger-summarizer.go +19 -13
- data/core/subsystem/usage.go +143 -66
- data/core/subsystem/usage_test.go +62 -32
- data/{bin → exe}/perfmonger +0 -0
- data/lib/perfmonger/command/fingerprint.rb +26 -1
- data/lib/perfmonger/command/live.rb +19 -0
- data/lib/perfmonger/command/play.rb +16 -0
- data/lib/perfmonger/command/plot.rb +16 -10
- data/lib/perfmonger/command/server.rb +1 -1
- data/lib/perfmonger/version.rb +1 -1
- data/misc/werker-box/Dockerfile +35 -0
- data/misc/werker-box/build-push.sh +5 -0
- data/perfmonger.gemspec +2 -1
- data/spec/data/busy100.pgr.played +3 -3
- data/spec/fingerprint_spec.rb +1 -1
- data/spec/live_spec.rb +2 -3
- data/spec/perfmonger_spec.rb +1 -1
- data/spec/play_spec.rb +1 -1
- data/spec/plot_spec.rb +16 -1
- data/spec/record_spec.rb +10 -1
- data/spec/spec_helper.rb +28 -3
- data/spec/stat_spec.rb +2 -2
- data/spec/summary_spec.rb +1 -1
- data/wercker.yml +47 -16
- metadata +25 -10
data/wercker.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
box: hayamiz/rvm-
|
1
|
+
box: hayamiz/go-rvm:wercker-env
|
2
2
|
# Build definition
|
3
3
|
build:
|
4
4
|
# The steps that will be executed on build
|
@@ -6,28 +6,35 @@ build:
|
|
6
6
|
# http://devcenter.wercker.com/articles/languages/ruby.html
|
7
7
|
steps:
|
8
8
|
- script:
|
9
|
-
name:
|
9
|
+
name: switch ruby to 1.9.3
|
10
10
|
code: |
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
source /etc/profile.d/rvm.sh
|
12
|
+
rvm use 1.9.3
|
13
|
+
- bundle-install
|
14
|
+
- script:
|
15
|
+
name: run rspec
|
16
|
+
code: |
|
17
|
+
bundle exec rake clean
|
18
|
+
bundle exec rake go_get
|
19
|
+
bundle exec rake spec
|
14
20
|
|
15
21
|
- script:
|
16
|
-
name:
|
22
|
+
name: switch ruby to 2.0.0
|
17
23
|
code: |
|
18
|
-
|
19
|
-
|
20
|
-
- rvm-use:
|
21
|
-
version: 1.9.3-p551
|
24
|
+
source /etc/profile.d/rvm.sh
|
25
|
+
rvm use 2.0.0
|
22
26
|
- bundle-install
|
23
27
|
- script:
|
24
28
|
name: run rspec
|
25
29
|
code: |
|
26
30
|
bundle exec rake clean
|
27
31
|
bundle exec rake spec
|
32
|
+
- script:
|
33
|
+
name: switch ruby to 2.1.10
|
34
|
+
code: |
|
28
35
|
|
29
|
-
|
30
|
-
|
36
|
+
source /etc/profile.d/rvm.sh
|
37
|
+
rvm use 2.1.10
|
31
38
|
- bundle-install
|
32
39
|
- script:
|
33
40
|
name: run rspec
|
@@ -35,8 +42,11 @@ build:
|
|
35
42
|
bundle exec rake clean
|
36
43
|
bundle exec rake spec
|
37
44
|
|
38
|
-
-
|
39
|
-
|
45
|
+
- script:
|
46
|
+
name: switch ruby to 2.2.5
|
47
|
+
code: |
|
48
|
+
source /etc/profile.d/rvm.sh
|
49
|
+
rvm use 2.2.5
|
40
50
|
- bundle-install
|
41
51
|
- script:
|
42
52
|
name: run rspec
|
@@ -44,8 +54,23 @@ build:
|
|
44
54
|
bundle exec rake clean
|
45
55
|
bundle exec rake spec
|
46
56
|
|
47
|
-
-
|
48
|
-
|
57
|
+
- script:
|
58
|
+
name: switch ruby to 2.3.1
|
59
|
+
code: |
|
60
|
+
source /etc/profile.d/rvm.sh
|
61
|
+
rvm use 2.3.1
|
62
|
+
- bundle-install
|
63
|
+
- script:
|
64
|
+
name: run rspec
|
65
|
+
code: |
|
66
|
+
bundle exec rake clean
|
67
|
+
bundle exec rake spec
|
68
|
+
|
69
|
+
- script:
|
70
|
+
name: switch ruby to 2.4.0
|
71
|
+
code: |
|
72
|
+
source /etc/profile.d/rvm.sh
|
73
|
+
rvm use 2.4.0
|
49
74
|
- bundle-install
|
50
75
|
- script:
|
51
76
|
name: run rspec
|
@@ -57,3 +82,9 @@ build:
|
|
57
82
|
name: run go test
|
58
83
|
code: |
|
59
84
|
bundle exec rake test_core
|
85
|
+
after-steps:
|
86
|
+
- slack-notifier:
|
87
|
+
url: $SLACK_URL
|
88
|
+
channel: pokeme
|
89
|
+
username: werckerbot
|
90
|
+
notify_on: "failed"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perfmonger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuto HAYAMIZU
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -99,7 +99,6 @@ files:
|
|
99
99
|
- NEWS
|
100
100
|
- README.md
|
101
101
|
- Rakefile
|
102
|
-
- bin/perfmonger
|
103
102
|
- core/Makefile
|
104
103
|
- core/build.sh
|
105
104
|
- core/perfmonger-player.go
|
@@ -129,17 +128,14 @@ files:
|
|
129
128
|
- data/assets/js/canvasjs.js
|
130
129
|
- data/assets/js/canvasjs.min.js
|
131
130
|
- data/sysstat.ioconf
|
131
|
+
- exe/perfmonger
|
132
132
|
- lib/exec/perfmonger-player_darwin_amd64
|
133
|
-
- lib/exec/perfmonger-player_linux_386
|
134
133
|
- lib/exec/perfmonger-player_linux_amd64
|
135
134
|
- lib/exec/perfmonger-plot-formatter_darwin_amd64
|
136
|
-
- lib/exec/perfmonger-plot-formatter_linux_386
|
137
135
|
- lib/exec/perfmonger-plot-formatter_linux_amd64
|
138
136
|
- lib/exec/perfmonger-recorder_darwin_amd64
|
139
|
-
- lib/exec/perfmonger-recorder_linux_386
|
140
137
|
- lib/exec/perfmonger-recorder_linux_amd64
|
141
138
|
- lib/exec/perfmonger-summarizer_darwin_amd64
|
142
|
-
- lib/exec/perfmonger-summarizer_linux_386
|
143
139
|
- lib/exec/perfmonger-summarizer_linux_amd64
|
144
140
|
- lib/perfmonger.rb
|
145
141
|
- lib/perfmonger/cli.rb
|
@@ -163,6 +159,8 @@ files:
|
|
163
159
|
- misc/release-howto.txt
|
164
160
|
- misc/sample-cpu.png
|
165
161
|
- misc/sample-read-iops.png
|
162
|
+
- misc/werker-box/Dockerfile
|
163
|
+
- misc/werker-box/build-push.sh
|
166
164
|
- perfmonger.gemspec
|
167
165
|
- spec/data/busy100.pgr
|
168
166
|
- spec/data/busy100.pgr.gz
|
@@ -214,8 +212,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
212
|
version: '0'
|
215
213
|
requirements: []
|
216
214
|
rubyforge_project:
|
217
|
-
rubygems_version: 2.
|
215
|
+
rubygems_version: 2.6.11
|
218
216
|
signing_key:
|
219
217
|
specification_version: 4
|
220
218
|
summary: yet anothor performance measurement/monitoring tool
|
221
|
-
test_files:
|
219
|
+
test_files:
|
220
|
+
- spec/data/busy100.pgr
|
221
|
+
- spec/data/busy100.pgr.gz
|
222
|
+
- spec/data/busy100.pgr.played
|
223
|
+
- spec/data/busy100.pgr.plot-formatted.cpu.dat
|
224
|
+
- spec/data/busy100.pgr.plot-formatted.disk.dat
|
225
|
+
- spec/data/busy100.pgr.summary
|
226
|
+
- spec/data/busy100.pgr.summary.json
|
227
|
+
- spec/fingerprint_spec.rb
|
228
|
+
- spec/live_spec.rb
|
229
|
+
- spec/perfmonger_spec.rb
|
230
|
+
- spec/play_spec.rb
|
231
|
+
- spec/plot_spec.rb
|
232
|
+
- spec/record_spec.rb
|
233
|
+
- spec/spec_helper.rb
|
234
|
+
- spec/stat_spec.rb
|
235
|
+
- spec/summary_spec.rb
|
236
|
+
- spec/support/aruba.rb
|