benchmark-memory 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +15 -7
- data/README.md +40 -15
- data/Rakefile +8 -18
- data/benchmark-memory.gemspec +14 -14
- data/lib/benchmark/memory/errors.rb +7 -1
- data/lib/benchmark/memory/held_results/entry_serializer.rb +9 -7
- data/lib/benchmark/memory/held_results/measurement_serializer.rb +11 -9
- data/lib/benchmark/memory/held_results/metric_serializer.rb +10 -8
- data/lib/benchmark/memory/held_results/serializer.rb +10 -8
- data/lib/benchmark/memory/held_results.rb +10 -14
- data/lib/benchmark/memory/helpers.rb +7 -16
- data/lib/benchmark/memory/human_readable_unit.rb +35 -0
- data/lib/benchmark/memory/job/io_output/comparison_formatter.rb +11 -9
- data/lib/benchmark/memory/job/io_output/entry_formatter.rb +12 -7
- data/lib/benchmark/memory/job/io_output/metric_formatter.rb +23 -5
- data/lib/benchmark/memory/job/io_output.rb +8 -6
- data/lib/benchmark/memory/job/null_output.rb +5 -6
- data/lib/benchmark/memory/job/task.rb +5 -3
- data/lib/benchmark/memory/job.rb +41 -31
- data/lib/benchmark/memory/measurement/metric.rb +3 -12
- data/lib/benchmark/memory/measurement/metric_extractor.rb +46 -0
- data/lib/benchmark/memory/measurement.rb +8 -35
- data/lib/benchmark/memory/report/comparator.rb +64 -0
- data/lib/benchmark/memory/report/comparison.rb +17 -2
- data/lib/benchmark/memory/report/entry.rb +6 -3
- data/lib/benchmark/memory/report.rb +9 -3
- data/lib/benchmark/memory/version.rb +3 -1
- data/lib/benchmark/memory.rb +7 -10
- data/lib/benchmark-memory.rb +3 -2
- metadata +14 -27
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benchmark-memory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Herold
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: memory_profiler
|
@@ -16,29 +16,15 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
-
-
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.12'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.12'
|
41
|
-
description: Benchmark-style memory profiling for Ruby 2.1+
|
26
|
+
version: '1'
|
27
|
+
description: Benchmark-style memory profiling
|
42
28
|
email:
|
43
29
|
- michael.j.herold@gmail.com
|
44
30
|
executables: []
|
@@ -60,6 +46,7 @@ files:
|
|
60
46
|
- lib/benchmark/memory/held_results/metric_serializer.rb
|
61
47
|
- lib/benchmark/memory/held_results/serializer.rb
|
62
48
|
- lib/benchmark/memory/helpers.rb
|
49
|
+
- lib/benchmark/memory/human_readable_unit.rb
|
63
50
|
- lib/benchmark/memory/job.rb
|
64
51
|
- lib/benchmark/memory/job/io_output.rb
|
65
52
|
- lib/benchmark/memory/job/io_output/comparison_formatter.rb
|
@@ -69,7 +56,9 @@ files:
|
|
69
56
|
- lib/benchmark/memory/job/task.rb
|
70
57
|
- lib/benchmark/memory/measurement.rb
|
71
58
|
- lib/benchmark/memory/measurement/metric.rb
|
59
|
+
- lib/benchmark/memory/measurement/metric_extractor.rb
|
72
60
|
- lib/benchmark/memory/report.rb
|
61
|
+
- lib/benchmark/memory/report/comparator.rb
|
73
62
|
- lib/benchmark/memory/report/comparison.rb
|
74
63
|
- lib/benchmark/memory/report/entry.rb
|
75
64
|
- lib/benchmark/memory/version.rb
|
@@ -77,7 +66,7 @@ homepage: https://github.com/michaelherold/benchmark-memory
|
|
77
66
|
licenses:
|
78
67
|
- MIT
|
79
68
|
metadata: {}
|
80
|
-
post_install_message:
|
69
|
+
post_install_message:
|
81
70
|
rdoc_options: []
|
82
71
|
require_paths:
|
83
72
|
- lib
|
@@ -85,17 +74,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
74
|
requirements:
|
86
75
|
- - ">="
|
87
76
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
77
|
+
version: 2.5.0
|
89
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
79
|
requirements:
|
91
80
|
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
requirements: []
|
95
|
-
|
96
|
-
|
97
|
-
signing_key:
|
84
|
+
rubygems_version: 3.2.22
|
85
|
+
signing_key:
|
98
86
|
specification_version: 4
|
99
|
-
summary: Benchmark-style memory profiling
|
87
|
+
summary: Benchmark-style memory profiling
|
100
88
|
test_files: []
|
101
|
-
has_rdoc:
|