benchmark_driver 0.10.11 → 0.10.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24436275666595b27dd25877162c3beec019cdeff0f299b492e3560290ee2bef
4
- data.tar.gz: 91de36833aed9e78e16a5d7f345515e1118941397a82491b7de2c37f4e3f332d
3
+ metadata.gz: 8476feea0b9fe972915f9cf0ca928cbdc34321e477f042c239965a9e41db2560
4
+ data.tar.gz: 5004f72484e4c00318043d9947f50f7dfdd4f4cbb2ddd27e2f48809c7b9d165a
5
5
  SHA512:
6
- metadata.gz: 4f7f721f8971d4cf605489a0bbc7ceeb50db1932a1f12bd31adc92076eb6134daacbad8e304b5644d8af59ffa8980c965b5c8c148c6e9b15c84c26b81e62341f
7
- data.tar.gz: 92d1145452989b637e8042e0e20f3a9771f0ad238fa3226cfaba5b832d4b2c8498598e356b24d085dce07e43bb0d23662a70d311ef38a9df43ba301562acaa92
6
+ metadata.gz: c8950a06fc9c5f894c6a4b11125b19b3ffe81fa1c483c0300605fd5e22ca8b7688d58bb97427b873db15759323f0617863640383a26a45efe4982948e595ddb9
7
+ data.tar.gz: c64f920ef9bb625c6ee82980d4b889c78695a211a4ae5ca5d41728e9597cdda5b2130995dbca854edfab858559896dbb8c6fdbe7ba847bff1620fa21a99c91ab
@@ -1,3 +1,8 @@
1
+ # v0.10.12
2
+
3
+ - Fix some typo in help
4
+ - Add dynamic require for convenience to implement output plugins
5
+
1
6
  # v0.10.11
2
7
 
3
8
  - Add `:required_ruby_option` parameter in YAML format
data/README.md CHANGED
@@ -85,7 +85,7 @@ Usage: benchmark-driver [options] [YAML]
85
85
  --bundler Install and use gems specified in Gemfile
86
86
  --filter [REGEXP] Filter out benchmarks with given regexp
87
87
  --verbose [LEVEL] Show some verbose outputs: 0, 1, 2 (default: 0)
88
- --run-duration [SECONDS] Warmup esitmates loop_count to run for this duration (default: 3)
88
+ --run-duration [SECONDS] Warmup estimates loop_count to run for this duration (default: 3)
89
89
  ```
90
90
 
91
91
  #### Running single script
@@ -55,7 +55,7 @@ config = BenchmarkDriver::Config.new.tap do |c|
55
55
  abort "--verbose must take Integer, but got #{v.inspect}"
56
56
  end
57
57
  end
58
- o.on('--run-duration [SECONDS]', 'Warmup esitmates loop_count to run for this duration (default: 3)') do |v|
58
+ o.on('--run-duration [SECONDS]', 'Warmup estimates loop_count to run for this duration (default: 3)') do |v|
59
59
  begin
60
60
  c.run_duration = Integer(v)
61
61
  rescue ArgumentError
@@ -16,6 +16,7 @@ module BenchmarkDriver
16
16
  raise ArgumentError.new("Output type '#{type}' cannot contain ':'")
17
17
  end
18
18
 
19
+ require "benchmark_driver/output/#{type}" # for plugin
19
20
  ::BenchmarkDriver::Output.const_get(camelize(type), false)
20
21
  end
21
22
 
@@ -33,7 +33,7 @@ module BenchmarkDriver
33
33
  def initialize(**args)
34
34
  args.each do |key, value|
35
35
  unless members.include?(key)
36
- raise ArgumentError.new("unknwon keywords: #{key}")
36
+ raise ArgumentError.new("unknown keywords: #{key}")
37
37
  next
38
38
  end
39
39
 
@@ -1,3 +1,3 @@
1
1
  module BenchmarkDriver
2
- VERSION = '0.10.11'
2
+ VERSION = '0.10.12'
3
3
  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.10.11
4
+ version: 0.10.12
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-03-18 00:00:00.000000000 Z
11
+ date: 2018-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler