benchmark-memory 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a1f338bae81b958bbf8cfa3560476d751ae715d
|
4
|
+
data.tar.gz: f57b9cda5e925e38e470f4b56ba85e06ad5efc0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbccceb24005e9844eb805ef24776c23b16a993626c4b7493cc4707be5b09533feb2bae143c78a38b4025bbc1f949decb9f72a82a2dafc4349e896882318a284
|
7
|
+
data.tar.gz: 3a8f8cbac8b3c5e08229f5ec727437b7f62bba9112b2fef67e52aae128ad3a544641451ae7d7bf371268ecabde8c95cba18dbd2552ac2d02831f5dd5f016c7fc
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This projec
|
|
4
4
|
|
5
5
|
[semver]: http://semver.org/spec/v2.0.0.html
|
6
6
|
|
7
|
+
## [0.1.1] - 2016-06-10
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
- Printing comparisons for multiple entries.
|
12
|
+
|
7
13
|
## [0.1.0] - 2016-05-18
|
8
14
|
|
9
15
|
### Added
|
@@ -12,5 +18,6 @@ All notable changes to this project will be documented in this file. This projec
|
|
12
18
|
- Holding results between invocations for measuring implementations on different versions of Ruby or different versions of libraries.
|
13
19
|
- Quiet mode, with no command line output.
|
14
20
|
|
21
|
+
[0.1.1]: https://github.com/michaelherold/benchmark-memory/compare/v0.1.0...v0.1.1
|
15
22
|
[0.1.0]: https://github.com/michaelherold/benchmark-memory/tree/v0.1.0
|
16
|
-
[unreleased]: https://github.com/michaelherold/benchmark-memory/compare/v0.1.
|
23
|
+
[unreleased]: https://github.com/michaelherold/benchmark-memory/compare/v0.1.1...HEAD
|
@@ -26,7 +26,7 @@ module Benchmark
|
|
26
26
|
return "" unless comparison.possible?
|
27
27
|
|
28
28
|
output = StringIO.new
|
29
|
-
best, rest =
|
29
|
+
best, *rest = comparison.entries
|
30
30
|
rest = Array(rest)
|
31
31
|
|
32
32
|
add_best_summary(best, output)
|
@@ -47,6 +47,7 @@ module Benchmark
|
|
47
47
|
def add_comparison(entry, best, output)
|
48
48
|
output << summary_message("%20s: %10i allocated - ", entry)
|
49
49
|
output << comparison_between(entry, best)
|
50
|
+
output << "\n"
|
50
51
|
end
|
51
52
|
|
52
53
|
def comparison_between(entry, best)
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Herold
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: memory_profiler
|