perfmonger 0.14.2 → 0.14.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b1f5e883802377df1cc422ab0e100f2445bdaafb7d77da2ddcb279232cd63b4
4
- data.tar.gz: b3cf4f9bd787f1b9b47dcff4da7480d8c30385c89a3785ad0793c5c40703dd06
3
+ metadata.gz: 90bf2b1d45d4a4424f678e351a4f8fc40e51744e7356b55a0ba0c43af1266eb5
4
+ data.tar.gz: 77e5f8cfed6ffb0f68526068e5850cc2b8ff3a3f4942c977ee59255116735c2e
5
5
  SHA512:
6
- metadata.gz: cdca2aa8a3ad76a274cdc142f1738e12578dc06117de98a1e24e41aee5604452a113becdd506df19d49b5ccf7aa1e1d1eaa58ab8a52b1fd121181318f3fdad51
7
- data.tar.gz: 76697490438d0b364be27504a7db0697d33b9f3bc5dc56f11db8dc89f5a1f682a270ad2d50bbedb40852ea759a0cf98708cc0fd159bc73568f17e11da2f43de7
6
+ metadata.gz: da692147fe6e1e9e9a0aae7b395818566915575e40161b1ada9a354db25c04704d951ed968cfe662bd4195e196d2f4a0587fc6c1f37f82d0ce7a1687b27e1fb1
7
+ data.tar.gz: 31d7dd283c869a241fae057f17de870f0dad6562425f7a9c5fd2a2460f7f0c96ba936ec5b3ff5d8b705e93d8108d62c7eb8ca1ce85adf0fc4e4f1d04b02d67ca
data/.gitignore CHANGED
@@ -14,3 +14,8 @@
14
14
  /.wercker/
15
15
  /spec/examples.txt
16
16
  /perfmonger.pgr.gz
17
+ /*.pdf
18
+ /*.png
19
+ /*.gp
20
+ /*.dat
21
+ /godevenv
data/HOWTO.md CHANGED
@@ -2,13 +2,11 @@
2
2
 
3
3
  ## TODO in release
4
4
 
5
- 1. Make a commit for changing version number
5
+ 1. Update version number in `lib/perfmonger/version.rb`
6
+ 2. Make a commit for changing version number
6
7
  * Add a new version number and release date to NEWS
7
- 2. Tag the commit with name `v<VERSION>` ex) `v0.3.0`
8
- 3. Push tags to the github repository
9
- 4. Make a tarball and upload it
10
- 5. Make a release announcement on my blog
11
- 6. Make a release announcement on freecode.com
12
- 7. Make a release announcement on Twitter
13
-
8
+ 3. Tag the commit with name `v<VERSION>` ex) `v0.3.0`
9
+ 4. Push tags to the github repository
10
+ 5. Build gem package with `rake build`
11
+ 6. Upload the gem package to rubygems.org with `rake release`
14
12
 
data/NEWS CHANGED
@@ -1,4 +1,16 @@
1
- ## 2021-XX-XX: PerfMonger 0.15.0
1
+ ## 2025-11-02: PerfMonger 0.14.5
2
+
3
+ * Bugfix
4
+ * [plot][play][fingerprint][summary] subcommands:
5
+ * Fixed deprecated ruby methods.
6
+
7
+ ## 2023-05-13: PerfMonger 0.14.4
8
+ * Yanked release 0.14.3 and repushed release binary.
9
+
10
+ ## 2023-03-30: PerfMonger 0.14.3
11
+ * Bugfix
12
+ * [plot] subcommand:
13
+ * Plot memory usage info correctly when available.
2
14
 
3
15
  ## 2021-12-01: PerfMonger 0.14.2
4
16
  * Bugfix
Binary file
Binary file
Binary file
@@ -172,7 +172,7 @@ EOS
172
172
  end
173
173
 
174
174
  def read_file(src)
175
- if File.exists?(src)
175
+ if File.exist?(src)
176
176
  begin
177
177
  return File.read(src)
178
178
  rescue StandardError => err
@@ -520,14 +520,14 @@ EOS
520
520
  f.puts("")
521
521
  end
522
522
 
523
- if File.exists?("/etc/debian_version")
523
+ if File.exist?("/etc/debian_version")
524
524
  content = read_file("/etc/debian_version")
525
525
  f.puts("## /etc/debian_version")
526
526
  f.puts(content)
527
527
  f.puts("")
528
528
  end
529
529
 
530
- if File.exists?("/etc/redhat-release")
530
+ if File.exist?("/etc/redhat-release")
531
531
  content = read_file("/etc/redhat-release")
532
532
  f.puts("## /etc/redhat-release")
533
533
  f.puts(content)
@@ -42,7 +42,7 @@ EOS
42
42
  end
43
43
 
44
44
  @logfile = argv.shift
45
- if ! File.exists?(@logfile)
45
+ if ! File.exist?(@logfile)
46
46
  puts("ERROR: No such file: #{@logfile}")
47
47
  puts(@parser.help)
48
48
  exit(false)
@@ -517,13 +517,13 @@ EOS
517
517
  gp_filename = @output_prefix + 'mem.gp'
518
518
  dat_filename = @output_prefix + 'mem.dat'
519
519
 
520
- unless File.exists?(dat_filename)
520
+ unless File.exist?(@mem_dat)
521
521
  $stderr.puts("WARN: memory usage info is not available.")
522
522
  return
523
523
  end
524
524
 
525
525
  if @output_type != 'pdf'
526
- img_filename = @output_prefix + 'cpu.' + @output_type
526
+ img_filename = @output_prefix + 'mem.' + @output_type
527
527
  else
528
528
  img_filename = nil
529
529
  end
@@ -54,7 +54,7 @@ EOS
54
54
  end
55
55
 
56
56
  @logfile = argv.shift
57
- if ! File.exists?(@logfile)
57
+ if ! File.exist?(@logfile)
58
58
  puts("ERROR: No such file: #{@logfile}")
59
59
  puts(@parser.help)
60
60
  exit(false)
@@ -1,3 +1,3 @@
1
1
  module PerfMonger
2
- VERSION = "0.14.2"
2
+ VERSION = "0.14.5"
3
3
  end
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.14.2
4
+ version: 0.14.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuto HAYAMIZU
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-14 00:00:00.000000000 Z
11
+ date: 2025-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -143,6 +143,7 @@ files:
143
143
  - lib/exec/perfmonger-summarizer_linux_amd64
144
144
  - lib/exec/perfmonger-viewer_darwin_amd64
145
145
  - lib/exec/perfmonger-viewer_linux_amd64
146
+ - lib/exec/perfmonger_linux_amd64
146
147
  - lib/perfmonger.rb
147
148
  - lib/perfmonger/cli.rb
148
149
  - lib/perfmonger/command/base_command.rb
@@ -217,26 +218,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
218
  - !ruby/object:Gem::Version
218
219
  version: '0'
219
220
  requirements: []
220
- rubyforge_project:
221
- rubygems_version: 2.7.6
221
+ rubygems_version: 3.4.10
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: yet anothor performance measurement/monitoring tool
225
- test_files:
226
- - spec/data/busy100.pgr
227
- - spec/data/busy100.pgr.gz
228
- - spec/data/busy100.pgr.played
229
- - spec/data/busy100.pgr.plot-formatted.cpu.dat
230
- - spec/data/busy100.pgr.plot-formatted.disk.dat
231
- - spec/data/busy100.pgr.summary
232
- - spec/data/busy100.pgr.summary.json
233
- - spec/fingerprint_spec.rb
234
- - spec/live_spec.rb
235
- - spec/perfmonger_spec.rb
236
- - spec/play_spec.rb
237
- - spec/plot_spec.rb
238
- - spec/record_spec.rb
239
- - spec/spec_helper.rb
240
- - spec/stat_spec.rb
241
- - spec/summary_spec.rb
242
- - spec/support/aruba.rb
225
+ test_files: []