httperfrb 0.3.0pre2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/HISTORY.md +5 -0
- data/README.md +3 -3
- data/lib/httperf.rb +7 -1
- data/lib/httperf/version.rb +1 -1
- metadata +11 -12
- data/lib/httperf/grapher.rb +0 -8
data/Gemfile
CHANGED
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -5,10 +5,9 @@ HTTPERF.rb
|
|
5
5
|
|
6
6
|
Simple Ruby interface for httperf.
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
This currently needs a lot of work to be production ready. It's done more in a scripting style then a true solid application style.
|
8
|
+
### Note
|
11
9
|
|
10
|
+
Also see: [HTTPerf::Grapher](http://github.com/rubyops/httperfrb-grapher)
|
12
11
|
|
13
12
|
## Installing 'httperf'
|
14
13
|
|
@@ -145,3 +144,4 @@ Something I've been playing around with, it's more of hack really. But it works
|
|
145
144
|
:connection_time_90_pct
|
146
145
|
:connection_time_95_pct
|
147
146
|
:connection_time_99_pct
|
147
|
+
|
data/lib/httperf.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
# @author Joshua Mervine <joshua@mervine.net>
|
2
|
+
$:.unshift File.dirname(__FILE__)
|
2
3
|
require 'open4'
|
3
4
|
require 'httperf/parser'
|
4
|
-
require 'httperf/grapher'
|
5
5
|
require 'httperf/version'
|
6
|
+
|
7
|
+
begin
|
8
|
+
require 'httperf/grapher'
|
9
|
+
rescue LoadError
|
10
|
+
end
|
11
|
+
|
6
12
|
class HTTPerf
|
7
13
|
|
8
14
|
# @return [Boolean] parse flag
|
data/lib/httperf/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httperfrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Joshua Mervine
|
@@ -13,7 +13,7 @@ date: 2012-08-13 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &5128620 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *5128620
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: simplecov
|
27
|
-
requirement: &
|
27
|
+
requirement: &5127720 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *5127720
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: yard
|
38
|
-
requirement: &
|
38
|
+
requirement: &5126540 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *5126540
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: open4
|
49
|
-
requirement: &
|
49
|
+
requirement: &5125800 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *5125800
|
58
58
|
description: Simple interface for calling httperf via ruby.
|
59
59
|
email:
|
60
60
|
- joshua@mervine.net
|
@@ -64,7 +64,6 @@ extra_rdoc_files: []
|
|
64
64
|
files:
|
65
65
|
- lib/httperf/version.rb
|
66
66
|
- lib/httperf/parser.rb
|
67
|
-
- lib/httperf/grapher.rb
|
68
67
|
- lib/httperf.rb
|
69
68
|
- README.md
|
70
69
|
- HISTORY.md
|
@@ -83,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
82
|
version: '0'
|
84
83
|
segments:
|
85
84
|
- 0
|
86
|
-
hash: -
|
85
|
+
hash: -1890024968844546698
|
87
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
87
|
none: false
|
89
88
|
requirements:
|