benchmark-sweet 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/benchmark/sweet/comparison.rb +5 -1
- data/lib/benchmark/sweet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0664b6e861a5c1627554264b942f758c6be5c5168f61fb86592a093b67818021
|
4
|
+
data.tar.gz: ed985db22ce7b3a7e6df81d1e3b1cb2e6216b869ef1c1e36f1f9ca55a1d9b187
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c910b55cbf76d5b145ccef4c48b833c3baae48f3e36d6ee91ca902f2927124ebca4b58f6237a6fc44fc2e035bc80da60709006ff0a48eace348d810c96d36dd8
|
7
|
+
data.tar.gz: 797ec9ed5b8ee09fa28f3325df1e4386cc0a4df3b739c06ed7cdc822bf149bf6d63953ca6b037c901524e7593f780483cdf04a0048535cfbeab1d047c9197d97
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
12
12
|
|
13
13
|
### Fixed
|
14
14
|
|
15
|
+
## [0.2.1] - 2020-06-24
|
16
|
+
|
17
|
+
### Fixed
|
18
|
+
- support increase of infinity
|
19
|
+
|
15
20
|
## [0.2.0] - 2020-05-11
|
16
21
|
|
17
22
|
### Added
|
@@ -32,5 +37,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
32
37
|
### Added
|
33
38
|
- good stuff
|
34
39
|
|
35
|
-
[Unreleased]: https://github.com/kbrock/benchmark-sweet/compare/v0.2.
|
40
|
+
[Unreleased]: https://github.com/kbrock/benchmark-sweet/compare/v0.2.1...HEAD
|
41
|
+
[0.2.1]: https://github.com/kbrock/benchmark-sweet/compare/v0.2.0...v0.2.1
|
36
42
|
[0.2.0]: https://github.com/kbrock/benchmark-sweet/compare/v0.0.1...v0.2.0
|
@@ -42,7 +42,11 @@ module Benchmark
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def worst?
|
45
|
-
|
45
|
+
if @worst
|
46
|
+
stats.overlaps?(@worst)
|
47
|
+
else
|
48
|
+
slowdown == Float::INFINITY || (total.to_i - 1 == offset.to_i && slowdown.to_i > 1)
|
49
|
+
end
|
46
50
|
end
|
47
51
|
|
48
52
|
def slowdown
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benchmark-sweet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keenan Brock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|