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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b988631bc66b48bd7c5f1e6e0c96d7608ad79326cd88b366bc1005f4eca86bd
4
- data.tar.gz: 443d7912aeeeee587653b74b4d7b4c7e20fc46998b5a90cc57b2b3142d05f4a4
3
+ metadata.gz: a012a5ba29bb3da226c6d809ffe149a368355f1aad15d1604c9ae16ee4a1f718
4
+ data.tar.gz: 1e1667a847cb9eacfaf0c6095f6fc5755c8904ae96b12e0bd73540799469ba86
5
5
  SHA512:
6
- metadata.gz: d98d096c50977365895b3d7c976983b4d2ea5d6f07425be6a17bbbb3e9e939d054d45f35dd52781feffadc1cd2e9e4b48e0d1cd4bb0c6c0b3e60d1d805eb1aa7
7
- data.tar.gz: 0ab053b1a32973c86c7ea47f6dc7038c0749efb78c67b5e69d025986bfb7eb629e1217a019eefe36fe3d681d83c393d65a7beacde3c386ed088b0cdadf932c5a
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 < 1000ns
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
@@ -1,5 +1,5 @@
1
1
  module Benchmark
2
2
  module Driver
3
- VERSION = '0.8.5'
3
+ VERSION = '0.8.6'
4
4
  end
5
5
  end
@@ -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.5
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-07 00:00:00.000000000 Z
11
+ date: 2018-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler