benchmark_driver 0.14.9 → 0.14.10

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: 88bc42275e8b77258fbc3fa458fdf11231d9445a9985b477a5943b6836aed3fd
4
- data.tar.gz: 5c0027726c36361de3602bbfdd06a2b33d0d3869464fcf574d011d033b0872c9
3
+ metadata.gz: 0dbeec40145165cfa39b1140a5a7d83cabbc65c4390ca251372bc594204a5171
4
+ data.tar.gz: 30ff49304d76cb27c07483218c9da52a7e89842b36f369ec60b1844620cb65f0
5
5
  SHA512:
6
- metadata.gz: 282ce1061f171cca4770c6f6f5ee984c6430b5c95f265333654a08276bdf442e140505d1022b300b2c575a621880906e4e659612dcf4f925e3185bb6d9ac74e0
7
- data.tar.gz: b13f537d17ed7e4a7e3b8b8669b73aca306a8a746c18febd72668b493028272b631b062135e9b1f0ebe053c69c837835315cb45246ce1e7725acc95f935d6146
6
+ metadata.gz: 8a295d1b04b389b94012e7dbdb0fe7119c3794ba985be43dc49f3bde59f8580fbbfdf90a74914a06c312a53f0b603558ffe3415b7a1c3202812f385e76b27394
7
+ data.tar.gz: 1c7392ca04cdeedba85961927de34928a95adc100eeaf05f0859c1f34d59036b47be603890c00af4105cb80bf257d087e4381c056fdd62a599bc1d16ec4bbc20
@@ -1,3 +1,7 @@
1
+ # v0.14.10
2
+
3
+ - Resolve internal Ruby warnings
4
+
1
5
  # v0.14.9
2
6
 
3
7
  - Allow recorded runner to run without the recorded Ruby executables
@@ -61,7 +61,7 @@ class BenchmarkDriver::Output::Compare
61
61
  loop_count = @job_results.first.loop_count
62
62
  if loop_count && @job_results.all? { |r| r.loop_count == loop_count }
63
63
  $stdout.print(" - #{humanize(loop_count)} times")
64
- if @job_results.all? { |result| !result.duration.nil? }
64
+ if @job_results.all? { |job_result| !job_result.duration.nil? }
65
65
  $stdout.print(" in")
66
66
  show_durations
67
67
  end
@@ -51,7 +51,6 @@ class BenchmarkDriver::Output::Record
51
51
  private
52
52
 
53
53
  def save_record
54
- jobs = @benchmark_metrics
55
54
  yaml = {
56
55
  'type' => 'recorded',
57
56
  'job_warmup_context_result' => @job_warmup_context_result,
@@ -11,6 +11,7 @@ class BenchmarkDriver::Output::Simple
11
11
  end
12
12
 
13
13
  def with_warmup(&block)
14
+ @with_benchmark = false
14
15
  without_stdout_buffering do
15
16
  $stdout.print 'warming up'
16
17
  block.call
@@ -144,7 +144,7 @@ class BenchmarkDriver::Runner::Ips
144
144
  end
145
145
 
146
146
  def execute(*args)
147
- stdout = IO.popen(args, &:read) # TODO: print stdout if verbose=2
147
+ IO.popen(args, &:read) # TODO: print stdout if verbose=2
148
148
  unless $?.success?
149
149
  raise "Failed to execute: #{args.shelljoin} (status: #{$?.exitstatus})"
150
150
  end
@@ -131,7 +131,7 @@ class BenchmarkDriver::Runner::RubyStdout
131
131
 
132
132
  StdoutToMetrics = ::BenchmarkDriver::Struct.new(:stdout, :value_from_stdout, :environment_from_stdout) do
133
133
  def value
134
- value = eval(value_from_stdout, binding)
134
+ eval(value_from_stdout, binding)
135
135
  end
136
136
 
137
137
  def environment
@@ -1,3 +1,3 @@
1
1
  module BenchmarkDriver
2
- VERSION = '0.14.9'
2
+ VERSION = '0.14.10'
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.14.9
4
+ version: 0.14.10
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-09-02 00:00:00.000000000 Z
11
+ date: 2018-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler