benchmark-http 0.14.0 → 0.14.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7b898f9431f2e00f2635eb1c4defb390f458faa1b5cce000834a1b5b338501e
|
4
|
+
data.tar.gz: 7f145d3680f1454aa57d328d9a9af5c8f5d342ec24c41d2494f2486fb6fb2119
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dbe27cd285207090193134aec7e7fcd94fef8263742dee41ec53c61ab8dd65998b6339ee02ae6c4e51bf03533350397076b44c41802f2986aea6874f767cd35
|
7
|
+
data.tar.gz: c85924364c69f467af407752313f22a6fd2eeb56b18df2ac3450e9c2b10758dc7cc1bb3a8f8fb30579769799451d9bfa75c09ba82c204b4250306f25c30c2b0d
|
@@ -54,7 +54,7 @@ module Benchmark
|
|
54
54
|
|
55
55
|
concurrency.times.map do
|
56
56
|
task.async do
|
57
|
-
client = Async::HTTP::Client.new(endpoint, endpoint.protocol)
|
57
|
+
client = Async::HTTP::Client.new(endpoint, protocol: endpoint.protocol)
|
58
58
|
|
59
59
|
statistics.sample(confidence_factor) do
|
60
60
|
response = client.get(request_path).tap(&:finish)
|
@@ -52,7 +52,7 @@ module Benchmark
|
|
52
52
|
|
53
53
|
concurrency.times.map do
|
54
54
|
task.async do
|
55
|
-
client = Async::HTTP::Client.new(endpoint, endpoint.protocol)
|
55
|
+
client = Async::HTTP::Client.new(endpoint, protocol: endpoint.protocol)
|
56
56
|
|
57
57
|
statistics.sample(confidence_factor) do
|
58
58
|
response = client.get(request_path).tap(&:finish)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benchmark-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-await
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
191
|
+
rubygems_version: 3.1.6
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: An asynchronous benchmark toolbox for modern HTTP servers.
|