benchmark_driver 0.15.16 → 0.15.17

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: 264d1545a3f32fef38774946fc4c5dcb5678605687709b18d122baed38b0a6c3
4
- data.tar.gz: 96eae9e96e0aaa018e8142a6299c644b14306430c4b49885a5e324c2679d33ac
3
+ metadata.gz: cc6888fbbe3ec73fcb84874bbc31535a08ae07859cbc8b86c0dd53d2e33ed2b7
4
+ data.tar.gz: cc052011eb026f8dd4d250a191fcbe30bdb3024b2157659c80696649d0c58840
5
5
  SHA512:
6
- metadata.gz: 2e466c27cb262ca00ce2ed36806b26c28d1313432796a6f561d3374223d9ea9fa844a264dd3888637f76c9b871adaf1ace2fae7871926287643d4ecabcf7bbfb
7
- data.tar.gz: 6f8795a33250a1ab8ce2a909068a50d35280cb57b0878958a8f059019a464b74c209d1c082d327c908d8755b5ddf771c13c5d785edcd46a0d7db038774ddb9f3
6
+ metadata.gz: 2516d64721d7b53f1466468263464024ebcdcc9906787ff29b38a494e2f8ecab275ccad7fcdc4928c1482c43b4ec0195d2733b38476ca919ff95b3b304cc4174
7
+ data.tar.gz: e6e62c506e94fe8e2add9af0ea3bd6abd531299117d28e7a2b1cbfee1d56db309907d1787b6cb090bdd64cefe0206641ec753b15ceb0625ed118406e61af1d33
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v0.15.17
2
+
3
+ - Jobs returned from job parsers are made mutable for plugins
4
+
1
5
  # v0.15.16
2
6
 
3
7
  - Add `--alternate` runner option to run executables alternately.
@@ -26,7 +26,7 @@ module BenchmarkDriver
26
26
  job.teardown.prepend("#{teardown}\n") if teardown
27
27
  job.loop_count ||= loop_count
28
28
  job.required_ruby_version ||= required_ruby_version
29
- end.each(&:freeze)
29
+ end
30
30
  end
31
31
 
32
32
  private
@@ -40,8 +40,8 @@ class BenchmarkDriver::Runner::Ips
40
40
  @output.report(values: { metric => value }, duration: duration, loop_count: loop_count)
41
41
  end
42
42
 
43
- loop_count = (loop_count.to_f * @config.run_duration / duration).floor
44
- Job.new(**job.to_h.merge(loop_count: loop_count))
43
+ job.loop_count = (loop_count.to_f * @config.run_duration / duration).floor
44
+ job
45
45
  end
46
46
  end
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module BenchmarkDriver
2
- VERSION = '0.15.16'
2
+ VERSION = '0.15.17'
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.15.16
4
+ version: 0.15.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-22 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -131,7 +131,7 @@ homepage: https://github.com/benchmark-driver/benchmark-driver
131
131
  licenses:
132
132
  - MIT
133
133
  metadata: {}
134
- post_install_message:
134
+ post_install_message:
135
135
  rdoc_options: []
136
136
  require_paths:
137
137
  - lib
@@ -146,8 +146,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  requirements: []
149
- rubygems_version: 3.1.4
150
- signing_key:
149
+ rubygems_version: 3.2.6
150
+ signing_key:
151
151
  specification_version: 4
152
152
  summary: Fully-featured accurate benchmark driver for Ruby
153
153
  test_files: []