benchmark_driver 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/benchmark/driver/version.rb +1 -1
- data/lib/benchmark/output.rb +3 -0
- 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: a012a5ba29bb3da226c6d809ffe149a368355f1aad15d1604c9ae16ee4a1f718
|
4
|
+
data.tar.gz: 1e1667a847cb9eacfaf0c6095f6fc5755c8904ae96b12e0bd73540799469ba86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9b870fd971c13c6c3f74b951a5da8c9ef9ccbeaf8a415cd3c56d975973d8a35e6287c3850d50bacd023e861de0b5552c866fc73b5c4dfec65ccfa26f47e0934
|
7
|
+
data.tar.gz: c43161e186236f6c82d3e8f9b5577ee935747f89badb6bbf4698f42488d0e12fb3593a6bfc7ab00e3b870652ea1968466c7855d813935019eff23dc6a51dbece
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
+
# v0.8.6
|
2
|
+
|
3
|
+
- Automatically require `benchmark/output/foo` when `-o foo` is specified
|
4
|
+
|
1
5
|
# v0.8.5
|
2
6
|
|
3
7
|
- Show time per iteration for ips output
|
4
|
-
- Show clocks too when it's <
|
8
|
+
- Show clocks/i too when it's < 1000 clocks/i
|
5
9
|
- In ips output, 'B' unit (10^9) is changed to 'G'
|
6
10
|
|
7
11
|
# v0.8.4
|
data/lib/benchmark/output.rb
CHANGED
@@ -6,6 +6,9 @@ module Benchmark::Output
|
|
6
6
|
# @param [Symbol] name
|
7
7
|
def find(name)
|
8
8
|
class_name = Benchmark::Driver::Configuration.camelize(name.to_s)
|
9
|
+
unless Benchmark::Output.const_defined?("#{class_name}::REQUIRED_FIELDS")
|
10
|
+
require "benchmark/output/#{name}"
|
11
|
+
end
|
9
12
|
Benchmark::Output.const_get(class_name, false)
|
10
13
|
end
|
11
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benchmark_driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|