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: ea91842c5ad96cfe3dc3c101bf3d7179b6b1871f
4
- data.tar.gz: 75947cf78b65b8286bceec66bf4ace28403cc5ac
3
+ metadata.gz: 1a1f338bae81b958bbf8cfa3560476d751ae715d
4
+ data.tar.gz: f57b9cda5e925e38e470f4b56ba85e06ad5efc0b
5
5
  SHA512:
6
- metadata.gz: 23a9674497bab9bf07ecaaf07c0f51cdf880223a924de621806afa8f9f62fdca4cf0db59913b9f2372d77a8d849b73f297d106a0a80f9c9c0cd0c15878e5503b
7
- data.tar.gz: 8eab918622dbb1e0dfbea807fa39c4404489510a90f3d37632dad8bbb6b0f8fad00fea34ce30a684f3f3b4ec74e4a6d00cadd30b742bf826a65631a5907f5c5d
6
+ metadata.gz: fbccceb24005e9844eb805ef24776c23b16a993626c4b7493cc4707be5b09533feb2bae143c78a38b4025bbc1f949decb9f72a82a2dafc4349e896882318a284
7
+ data.tar.gz: 3a8f8cbac8b3c5e08229f5ec727437b7f62bba9112b2fef67e52aae128ad3a544641451ae7d7bf371268ecabde8c95cba18dbd2552ac2d02831f5dd5f016c7fc
@@ -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.0...HEAD
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 = *comparison.entries
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)
@@ -1,5 +1,5 @@
1
1
  module Benchmark
2
2
  module Memory
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
5
  end
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.0
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-05-18 00:00:00.000000000 Z
11
+ date: 2016-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memory_profiler