blitz 0.1.17 → 0.1.18
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.
- data/blitz.gemspec +2 -2
- data/lib/blitz.rb +1 -1
- data/lib/blitz/command/curl.rb +2 -0
- metadata +3 -3
data/blitz.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{blitz}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.18"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["pcapr"]
|
|
12
|
-
s.date = %q{2011-11-
|
|
12
|
+
s.date = %q{2011-11-26}
|
|
13
13
|
s.default_executable = %q{blitz}
|
|
14
14
|
s.description = %q{Make load and performance testing a fun sport}
|
|
15
15
|
s.email = %q{support@blitz.io}
|
data/lib/blitz.rb
CHANGED
data/lib/blitz/command/curl.rb
CHANGED
|
@@ -164,6 +164,7 @@ class Curl < Command # :nodoc:
|
|
|
164
164
|
if last_index.nil?
|
|
165
165
|
print yellow("%6s " % "Time")
|
|
166
166
|
print "%6s " % "Users"
|
|
167
|
+
print green("%8s " % "Response")
|
|
167
168
|
print green("%8s " % "Hits")
|
|
168
169
|
print magenta("%8s " % "Timeouts")
|
|
169
170
|
print red("%8s " % "Errors")
|
|
@@ -180,6 +181,7 @@ class Curl < Command # :nodoc:
|
|
|
180
181
|
curr = result.timeline[-1]
|
|
181
182
|
print yellow("%5.1fs " % curr.timestamp)
|
|
182
183
|
print "%6d " % curr.volume
|
|
184
|
+
print green("%7.3fs " % curr.duration)
|
|
183
185
|
print green("%8d " % curr.hits)
|
|
184
186
|
print magenta("%8d " % curr.timeouts)
|
|
185
187
|
print red("%8d " % curr.errors)
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: blitz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.18
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- pcapr
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-11-
|
|
13
|
+
date: 2011-11-26 00:00:00 -08:00
|
|
14
14
|
default_executable: blitz
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
173
173
|
requirements:
|
|
174
174
|
- - ">="
|
|
175
175
|
- !ruby/object:Gem::Version
|
|
176
|
-
hash: -
|
|
176
|
+
hash: -714289775
|
|
177
177
|
segments:
|
|
178
178
|
- 0
|
|
179
179
|
version: "0"
|