bigbench 0.0.4 → 0.0.5
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/README.textile +29 -249
- data/bigbench.gemspec +1 -0
- data/bin/bigbench +1 -1
- data/dev/request_sequence.dot +235 -0
- data/dev/request_sequence.pdf +0 -0
- data/dev/sequence.rb +48 -0
- data/doc/Array.html +5 -5
- data/doc/BigBench.html +27 -60
- data/doc/BigBench/Benchmark.html +5 -5
- data/doc/BigBench/Benchmark/Benchmark.html +8 -8
- data/doc/BigBench/Benchmark/Looper.html +5 -5
- data/doc/BigBench/Bot.html +5 -5
- data/doc/BigBench/Configuration.html +29 -53
- data/doc/BigBench/Executor.html +14 -95
- data/doc/BigBench/Executor/Executable.html +551 -0
- data/doc/BigBench/Fragment.html +5 -5
- data/doc/BigBench/Fragment/Fragment.html +5 -5
- data/doc/BigBench/Output.html +7 -8
- data/doc/BigBench/PostProcessor.html +8 -8
- data/doc/BigBench/PostProcessor/Context.html +219 -0
- data/doc/BigBench/PostProcessor/Environment.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/Appearings.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/AttributeCluster.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/BenchmarkNotFound.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/Cluster.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/NormalDistribution.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/PolynomialRegression.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/Statistics.html +5 -5
- data/doc/BigBench/PostProcessor/Graphs.html +5 -5
- data/doc/BigBench/PostProcessor/Graphs/LineGraph.html +5 -5
- data/doc/BigBench/PostProcessor/Graphs/PieGraph.html +5 -5
- data/doc/BigBench/PostProcessor/InvalidProcessor.html +6 -6
- data/doc/BigBench/PostProcessor/Processor.html +6 -6
- data/doc/BigBench/PostProcessor/Statistics.html +5 -5
- data/doc/BigBench/PostProcessor/Test.html +6 -6
- data/doc/BigBench/PostProcessor/TestPretty.html +249 -0
- data/doc/BigBench/Runner.html +5 -5
- data/doc/BigBench/Runner/NoBenchmarksDefined.html +5 -5
- data/doc/BigBench/Store.html +8 -8
- data/doc/BigBench/Tracker.html +5 -5
- data/doc/BigBench/Tracker/Tracker.html +5 -5
- data/doc/EventMachineLoop.html +5 -5
- data/doc/Float.html +5 -5
- data/doc/Gemfile.html +5 -5
- data/doc/Helpers.html +5 -5
- data/doc/Object.html +24 -5
- data/doc/README_rdoc.html +51 -281
- data/doc/Rakefile.html +5 -5
- data/doc/created.rid +46 -46
- data/doc/index.html +51 -281
- data/doc/js/search_index.js +1 -1
- data/doc/lib/bigbench/help/executor_txt.html +14 -29
- data/doc/table_of_contents.html +63 -68
- data/lib/bigbench.rb +2 -0
- data/lib/bigbench/benchmark.rb +3 -3
- data/lib/bigbench/configuration.rb +29 -68
- data/lib/bigbench/executor.rb +100 -130
- data/lib/bigbench/help/executor.txt +9 -22
- data/lib/bigbench/output.rb +2 -3
- data/lib/bigbench/post_processor.rb +16 -4
- data/lib/bigbench/runner.rb +0 -1
- data/lib/bigbench/store.rb +2 -2
- data/lib/bigbench/templates/test_plan.rb.erb +17 -0
- data/lib/bigbench/version.rb +1 -1
- data/spec/configure_spec.rb +7 -18
- data/spec/executor_spec.rb +25 -35
- data/spec/post_processor_spec.rb +31 -1
- data/spec/post_processors/environment_spec.rb +5 -3
- data/spec/post_processors/graphs_spec.rb +8 -3
- data/spec/post_processors/statistics_spec.rb +6 -1
- data/spec/runner_spec.rb +7 -6
- data/spec/store_spec.rb +4 -3
- data/spec/tests/local.rb +5 -5
- data/spec/tests/with_post_processor.rb +5 -5
- data/spec/tracker_spec.rb +12 -8
- metadata +48 -31
- data/dev/test.rb +0 -13
data/spec/post_processor_spec.rb
CHANGED
@@ -2,6 +2,10 @@ require_relative "./helpers"
|
|
2
2
|
|
3
3
|
describe BigBench::PostProcessor do
|
4
4
|
|
5
|
+
before(:each) do
|
6
|
+
Dir.chdir File.dirname(__FILE__)
|
7
|
+
end
|
8
|
+
|
5
9
|
it "should raise an exception for empty or unfound processors" do
|
6
10
|
lambda{ BigBench.post_process }.should raise_exception BigBench::PostProcessor::InvalidProcessor
|
7
11
|
end
|
@@ -68,7 +72,7 @@ describe BigBench::PostProcessor do
|
|
68
72
|
|
69
73
|
it "should offer a tracking iterator" do
|
70
74
|
|
71
|
-
BigBench.config.output = "
|
75
|
+
BigBench.config.output = "tests/result.ljson"
|
72
76
|
|
73
77
|
module BigBench::PostProcessor::Test
|
74
78
|
def self.run!(options)
|
@@ -80,7 +84,33 @@ describe BigBench::PostProcessor do
|
|
80
84
|
BigBench.post_process BigBench::PostProcessor::Test
|
81
85
|
|
82
86
|
BigBench.post_processors.first.run!.should == 43
|
87
|
+
end
|
88
|
+
|
89
|
+
it "should load a post processor module by its pretty name if its already defined" do
|
90
|
+
|
91
|
+
BigBench.config.output = "tests/result.ljson"
|
83
92
|
|
93
|
+
module BigBench::PostProcessor::TestPretty
|
94
|
+
def self.run!(options)
|
95
|
+
counter = 0
|
96
|
+
each_tracking { |tracking| counter += 1 }
|
97
|
+
counter
|
98
|
+
end
|
99
|
+
end
|
100
|
+
BigBench.post_process :test_pretty
|
101
|
+
|
102
|
+
BigBench.post_processors.first.run!.should == 43
|
103
|
+
end
|
104
|
+
|
105
|
+
it "should allow to access the environment from a post_process block" do
|
106
|
+
|
107
|
+
BigBench.config.output = "tests/result.ljson"
|
108
|
+
|
109
|
+
BigBench.post_process do
|
110
|
+
trackings.size
|
111
|
+
end
|
112
|
+
|
113
|
+
BigBench.post_processors.first.run!.should == 43
|
84
114
|
end
|
85
115
|
|
86
116
|
end
|
@@ -3,8 +3,10 @@ require_relative "../helpers"
|
|
3
3
|
describe BigBench::PostProcessor::Environment do
|
4
4
|
|
5
5
|
before(:each) do
|
6
|
+
Dir.chdir File.dirname(__FILE__)
|
7
|
+
Dir.chdir ".."
|
6
8
|
BigBench.config.duration = 7.seconds
|
7
|
-
BigBench.config.output = "
|
9
|
+
BigBench.config.output = "tests/sample_results_small.ljson"
|
8
10
|
|
9
11
|
class << self
|
10
12
|
include BigBench::PostProcessor::Environment
|
@@ -266,7 +268,7 @@ describe BigBench::PostProcessor::Environment do
|
|
266
268
|
context "benchmark scope", :benchmark do
|
267
269
|
|
268
270
|
before(:each) do
|
269
|
-
BigBench.config.output = "
|
271
|
+
BigBench.config.output = "tests/sample_results_small.ljson"
|
270
272
|
BigBench.benchmark("index page" => "http://localhost:3001"){ get "/" }
|
271
273
|
BigBench.benchmark("logout page" => "http://localhost:3001"){ get "/" }
|
272
274
|
end
|
@@ -362,7 +364,7 @@ describe BigBench::PostProcessor::Environment do
|
|
362
364
|
|
363
365
|
before(:each) do
|
364
366
|
BigBench.config.duration = 20.seconds
|
365
|
-
BigBench.config.output = "
|
367
|
+
BigBench.config.output = "tests/result.ljson"
|
366
368
|
end
|
367
369
|
|
368
370
|
it "should work with statistics" do
|
@@ -3,11 +3,16 @@ require_relative "../../lib/bigbench/post_processor/graphs"
|
|
3
3
|
|
4
4
|
describe BigBench::PostProcessor::Graphs do
|
5
5
|
|
6
|
+
before(:each) do
|
7
|
+
Dir.chdir File.dirname(__FILE__)
|
8
|
+
Dir.chdir ".."
|
9
|
+
end
|
10
|
+
|
6
11
|
it "should run and create the following graphs" do
|
7
|
-
folder = "
|
12
|
+
folder = "tmp/graphs_#{Time.now.to_i}"
|
8
13
|
|
9
14
|
BigBench.config.duration = 2.minutes
|
10
|
-
BigBench.config.output = "
|
15
|
+
BigBench.config.output = "tests/sample_results_big.ljson"
|
11
16
|
BigBench.benchmark("index page" => "http://localhost:3001"){ get "/" }
|
12
17
|
BigBench.post_process :graphs, :folder => folder
|
13
18
|
|
@@ -17,7 +22,7 @@ describe BigBench::PostProcessor::Graphs do
|
|
17
22
|
lambda{ BigBench.post_processors.first.run! }.should_not raise_exception
|
18
23
|
Dir["#{folder}/*.png"].size.should == 18
|
19
24
|
|
20
|
-
Dir["
|
25
|
+
Dir["tmp/*"].each{ |folder| FileUtils.rm_rf(folder) }
|
21
26
|
end
|
22
27
|
|
23
28
|
end
|
@@ -2,9 +2,14 @@ require_relative "../helpers"
|
|
2
2
|
|
3
3
|
describe BigBench::PostProcessor::Statistics do
|
4
4
|
|
5
|
+
before(:each) do
|
6
|
+
Dir.chdir File.dirname(__FILE__)
|
7
|
+
Dir.chdir ".."
|
8
|
+
end
|
9
|
+
|
5
10
|
it "should run and create the following statistics" do
|
6
11
|
BigBench.config.duration = 2.minutes
|
7
|
-
BigBench.config.output = "
|
12
|
+
BigBench.config.output = "tests/sample_results_big.ljson"
|
8
13
|
BigBench.benchmark("index page" => "http://localhost:3001"){ get "/" }
|
9
14
|
BigBench.post_process :statistics
|
10
15
|
|
data/spec/runner_spec.rb
CHANGED
@@ -2,6 +2,10 @@ require_relative "./helpers"
|
|
2
2
|
|
3
3
|
describe BigBench::Runner do
|
4
4
|
|
5
|
+
before(:each) do
|
6
|
+
Dir.chdir File.dirname(__FILE__)
|
7
|
+
end
|
8
|
+
|
5
9
|
it "should raise an exception if no benchmarks were defined" do
|
6
10
|
lambda {BigBench.run!}.should raise_error(BigBench::Runner::NoBenchmarksDefined, "Sorry, I couldn't find any benchmarks!")
|
7
11
|
end
|
@@ -25,15 +29,12 @@ describe BigBench::Runner do
|
|
25
29
|
BigBench.benchmarks.each{ |benchmark| benchmark.runs.should == 1 }
|
26
30
|
end
|
27
31
|
|
28
|
-
it "should load an external test and warn about the missing config" do
|
29
|
-
test = File.open("spec/tests/local_invalid.rb", "rb"){ |file| file.read }
|
30
|
-
lambda{ BigBench.load_test!(test) }.should raise_error(BigBench::Configuration::InvalidOptions, "At least: #{BigBench::Configuration::Config::VALIDATE_OPTIONS.join(', ')} are required")
|
31
|
-
end
|
32
|
-
|
33
32
|
it "should successfully load an external test" do
|
34
|
-
test = File.open("
|
33
|
+
test = File.open("tests/local.rb", "rb"){ |file| file.read }
|
35
34
|
BigBench.load_test!(test)
|
36
35
|
|
36
|
+
BigBench.config.duration.should == 1.second
|
37
|
+
BigBench.duration.should == 1.second
|
37
38
|
BigBench.benchmarks.size.should == 2
|
38
39
|
end
|
39
40
|
|
data/spec/store_spec.rb
CHANGED
@@ -4,6 +4,7 @@ describe BigBench::Store do
|
|
4
4
|
|
5
5
|
before(:each) do
|
6
6
|
BigBench::Store.reset!
|
7
|
+
Dir.chdir File.dirname(__FILE__)
|
7
8
|
end
|
8
9
|
|
9
10
|
it "should setup properly" do
|
@@ -11,13 +12,13 @@ describe BigBench::Store do
|
|
11
12
|
end
|
12
13
|
|
13
14
|
it "should supply a method to store a test receipts" do
|
14
|
-
test = File.open("
|
15
|
+
test = File.open("tests/local.rb", "rb"){ |file| file.read }
|
15
16
|
BigBench::Store.test = test
|
16
17
|
BigBench::Store.test.should == test
|
17
18
|
end
|
18
19
|
|
19
20
|
it "should supply a method to global start a test" do
|
20
|
-
test = File.open("
|
21
|
+
test = File.open("tests/local.rb", "rb"){ |file| file.read }
|
21
22
|
|
22
23
|
BigBench::Store.start
|
23
24
|
BigBench::Store.running?.should == true
|
@@ -58,7 +59,7 @@ describe BigBench::Store do
|
|
58
59
|
it "should allow to reset all values" do
|
59
60
|
BigBench::Store.setup!("http://localhost:6379").should be_true
|
60
61
|
|
61
|
-
test = File.open("
|
62
|
+
test = File.open("tests/local.rb", "rb"){ |file| file.read }
|
62
63
|
BigBench::Store.test = test
|
63
64
|
BigBench::Store.start
|
64
65
|
|
data/spec/tests/local.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
BigBench.configure
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
BigBench.configure do |config|
|
2
|
+
config.duration = 1.second
|
3
|
+
config.output = "tmp/local.ljson"
|
4
|
+
config.users = 1
|
5
|
+
end
|
6
6
|
|
7
7
|
benchmark "index page" => "http://localhost:3001" do
|
8
8
|
get "/"
|
@@ -1,8 +1,8 @@
|
|
1
|
-
BigBench.configure
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
BigBench.configure do |config|
|
2
|
+
config.duration = 1.minute
|
3
|
+
config.output = "tests/with_post_processor.ljson"
|
4
|
+
config.users = 1
|
5
|
+
end
|
6
6
|
|
7
7
|
benchmark "index page" => "http://localhost:3001" do
|
8
8
|
get "/"
|
data/spec/tracker_spec.rb
CHANGED
@@ -2,6 +2,10 @@ require_relative "./helpers"
|
|
2
2
|
|
3
3
|
describe BigBench::Tracker do
|
4
4
|
|
5
|
+
before(:each) do
|
6
|
+
Dir.chdir File.dirname(__FILE__)
|
7
|
+
end
|
8
|
+
|
5
9
|
it "should track supplied objects" do
|
6
10
|
@tracker = BigBench::Tracker::Tracker.new
|
7
11
|
@tracker.track "a result"
|
@@ -11,7 +15,7 @@ describe BigBench::Tracker do
|
|
11
15
|
end
|
12
16
|
|
13
17
|
it "should write trackings to the specified file in the local mode" do
|
14
|
-
BigBench.config.output = "
|
18
|
+
BigBench.config.output = "tmp/test.ljson"
|
15
19
|
BigBench.benchmark "index page call" => "http://localhost:3001" do
|
16
20
|
get "/"
|
17
21
|
end
|
@@ -19,17 +23,17 @@ describe BigBench::Tracker do
|
|
19
23
|
BigBench.run!
|
20
24
|
BigBench.write_local_trackings_to_file!
|
21
25
|
|
22
|
-
File.exist?("
|
23
|
-
File.open("
|
26
|
+
File.exist?("tmp/test.ljson").should be_true
|
27
|
+
File.open("tmp/test.ljson") do |file|
|
24
28
|
file.each_line{ |json| JSON.parse(json).is_a?(Hash).should be_true }
|
25
29
|
end
|
26
30
|
|
27
|
-
File.delete "
|
31
|
+
File.delete "tmp/test.ljson"
|
28
32
|
end
|
29
33
|
|
30
34
|
it "should gather the remote trackings and write them into a file" do
|
31
35
|
BigBench::Store.setup!("http://localhost:6379").should be_true
|
32
|
-
BigBench.config.output = "
|
36
|
+
BigBench.config.output = "tmp/test.ljson"
|
33
37
|
|
34
38
|
BigBench::Store.add_tracking({ :tracking => true }.to_json)
|
35
39
|
BigBench::Store.add_tracking({ :tracking => true }.to_json)
|
@@ -40,11 +44,11 @@ describe BigBench::Tracker do
|
|
40
44
|
|
41
45
|
BigBench.write_store_trackings_to_file!
|
42
46
|
|
43
|
-
File.exist?("
|
44
|
-
File.open("
|
47
|
+
File.exist?("tmp/test.ljson").should be_true
|
48
|
+
File.open("tmp/test.ljson") do |file|
|
45
49
|
file.each_line{ |json| JSON.parse(json).is_a?(Hash).should be_true }
|
46
50
|
end
|
47
51
|
|
48
|
-
File.delete "
|
52
|
+
File.delete "tmp/test.ljson"
|
49
53
|
end
|
50
54
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigbench
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70278979950020 !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: *70278979950020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activesupport
|
27
|
-
requirement: &
|
27
|
+
requirement: &70278979949520 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.2.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70278979949520
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: actionpack
|
38
|
-
requirement: &
|
38
|
+
requirement: &70278979949020 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 3.2.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70278979949020
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rack
|
49
|
-
requirement: &
|
49
|
+
requirement: &70278979948640 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70278979948640
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: thin
|
60
|
-
requirement: &
|
60
|
+
requirement: &70278994590740 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70278994590740
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: eventmachine
|
71
|
-
requirement: &
|
71
|
+
requirement: &70278994588080 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70278994588080
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: em-http-request
|
82
|
-
requirement: &
|
82
|
+
requirement: &70278994975200 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70278994975200
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: sinatra
|
93
|
-
requirement: &
|
93
|
+
requirement: &70278994974780 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70278994974780
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: activesupport
|
104
|
-
requirement: &
|
104
|
+
requirement: &70278994974280 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: 3.2.0
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70278994974280
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: actionpack
|
115
|
-
requirement: &
|
115
|
+
requirement: &70278994973780 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 3.2.0
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70278994973780
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: redis
|
126
|
-
requirement: &
|
126
|
+
requirement: &70278994973400 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70278994973400
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: eventmachine
|
137
|
-
requirement: &
|
137
|
+
requirement: &70278994972940 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *70278994972940
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: em-http-request
|
148
|
-
requirement: &
|
148
|
+
requirement: &70278994972520 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :runtime
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *70278994972520
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: hirb
|
159
|
-
requirement: &
|
159
|
+
requirement: &70278994972100 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,7 +164,18 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *70278994972100
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: thor
|
170
|
+
requirement: &70278994971600 !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: 0.15.2
|
176
|
+
type: :runtime
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: *70278994971600
|
168
179
|
description: Setup a network of bots only waiting to attack a few lonesome servers
|
169
180
|
and force them to their limits
|
170
181
|
email:
|
@@ -182,7 +193,9 @@ files:
|
|
182
193
|
- bigbench.gemspec
|
183
194
|
- bin/bigbench
|
184
195
|
- dev/net_http.rb
|
185
|
-
- dev/
|
196
|
+
- dev/request_sequence.dot
|
197
|
+
- dev/request_sequence.pdf
|
198
|
+
- dev/sequence.rb
|
186
199
|
- dev/tracking.rb
|
187
200
|
- doc/Array.html
|
188
201
|
- doc/BigBench.html
|
@@ -194,11 +207,13 @@ files:
|
|
194
207
|
- doc/BigBench/Configuration/Config.html
|
195
208
|
- doc/BigBench/Configuration/InvalidOptions.html
|
196
209
|
- doc/BigBench/Executor.html
|
210
|
+
- doc/BigBench/Executor/Executable.html
|
197
211
|
- doc/BigBench/Executor/InvalidCommand.html
|
198
212
|
- doc/BigBench/Fragment.html
|
199
213
|
- doc/BigBench/Fragment/Fragment.html
|
200
214
|
- doc/BigBench/Output.html
|
201
215
|
- doc/BigBench/PostProcessor.html
|
216
|
+
- doc/BigBench/PostProcessor/Context.html
|
202
217
|
- doc/BigBench/PostProcessor/Environment.html
|
203
218
|
- doc/BigBench/PostProcessor/Environment/Appearings.html
|
204
219
|
- doc/BigBench/PostProcessor/Environment/AttributeCluster.html
|
@@ -214,6 +229,7 @@ files:
|
|
214
229
|
- doc/BigBench/PostProcessor/Processor.html
|
215
230
|
- doc/BigBench/PostProcessor/Statistics.html
|
216
231
|
- doc/BigBench/PostProcessor/Test.html
|
232
|
+
- doc/BigBench/PostProcessor/TestPretty.html
|
217
233
|
- doc/BigBench/Runner.html
|
218
234
|
- doc/BigBench/Runner/NoBenchmarksDefined.html
|
219
235
|
- doc/BigBench/Store.html
|
@@ -280,6 +296,7 @@ files:
|
|
280
296
|
- lib/bigbench/post_processor/statistics.rb
|
281
297
|
- lib/bigbench/runner.rb
|
282
298
|
- lib/bigbench/store.rb
|
299
|
+
- lib/bigbench/templates/test_plan.rb.erb
|
283
300
|
- lib/bigbench/tracker.rb
|
284
301
|
- lib/bigbench/version.rb
|
285
302
|
- spec/benchmark_spec.rb
|