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/doc/js/search_index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var search_data = {"index":{"searchIndex":["array","bigbench","benchmark","benchmark","looper","bot","configuration","config","invalidoptions","executor","invalidcommand","fragment","fragment","output","postprocessor","environment","appearings","attributecluster","benchmarknotfound","cluster","normaldistribution","polynomialregression","statistics","graphs","linegraph","piegraph","invalidprocessor","processor","statistics","test","runner","nobenchmarksdefined","store","tracker","tracker","eventmachineloop","float","helpers","object","add()","add()","add()","add()","add_option()","add_tracking()","all()","all()","all_requests_done?()","appearing()","attr_multi_dimension_reader()","authorized?()","average()","average()","benchmark()","benchmarks()","bot_is_checking()","bot_is_working()","bot_received_test_instructions()","bot_stopped_working()","bots()","check_config!()","check_test!()","cluster()","config()","config()","configure=()","configure=()","count_trackings()","delete()","deployed_test()","derivation()","done()","duration()","each_benchmark()","each_tracking()","finished_bots_loop()","finished_running_benchmarks()","finished_writing_trackings()","formula()","get()","is_running?()","load_test!()","loaded_tests()","loop!()","max()","max_duration()","mean()","message()","message()","message()","message()","message()","min()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","next_fragment()","normal_distribution()","open()","open()","parse()","polynomial_regression()","pop_tracking()","post()","post_process()","post_processors()","protected!()","put()","request!()","reset()","reset!()","reset!()","reset!()","reset!()","reset!()","reset!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run_post_processors!()","running?()","running_benchmarks()","running_bots_loop()","scope()","scope_to_benchmark()","sd()","setup!()","squared_deviation()","standard_deviation()","start()","start()","starting_bots_loop()","statistics()","stop()","sum()","test()","test=()","to_milliseconds()","track()","track!()","trackings()","valid?()","validate_normal_distribution()","variance()","write()","write()","write_local_trackings_to_file!()","write_store_trackings_to_file!()","write_trackings_to_store!()","writing_trackings()","wrote_trackings()","y()","y()","gemfile","readme","rakefile","executor"],"longSearchIndex":["array","bigbench","bigbench::benchmark","bigbench::benchmark::benchmark","bigbench::benchmark::looper","bigbench::bot","bigbench::configuration","bigbench::configuration::config","bigbench::configuration::invalidoptions","bigbench::executor","bigbench::executor::invalidcommand","bigbench::fragment","bigbench::fragment::fragment","bigbench::output","bigbench::postprocessor","bigbench::postprocessor::environment","bigbench::postprocessor::environment::appearings","bigbench::postprocessor::environment::attributecluster","bigbench::postprocessor::environment::benchmarknotfound","bigbench::postprocessor::environment::cluster","bigbench::postprocessor::environment::normaldistribution","bigbench::postprocessor::environment::polynomialregression","bigbench::postprocessor::environment::statistics","bigbench::postprocessor::graphs","bigbench::postprocessor::graphs::linegraph","bigbench::postprocessor::graphs::piegraph","bigbench::postprocessor::invalidprocessor","bigbench::postprocessor::processor","bigbench::postprocessor::statistics","bigbench::postprocessor::test","bigbench::runner","bigbench::runner::nobenchmarksdefined","bigbench::store","bigbench::tracker","bigbench::tracker::tracker","eventmachineloop","float","helpers","object","bigbench::benchmark::add()","bigbench::postprocessor::add()","bigbench::postprocessor::graphs::linegraph#add()","bigbench::postprocessor::graphs::piegraph#add()","bigbench::configuration::config::add_option()","bigbench::store::add_tracking()","bigbench::benchmark::all()","bigbench::postprocessor::all()","eventmachineloop#all_requests_done?()","bigbench::postprocessor::environment#appearing()","bigbench::postprocessor::environment::cluster::attr_multi_dimension_reader()","object#authorized?()","array#average()","bigbench::postprocessor::environment::statistics#average()","bigbench::benchmark()","bigbench::benchmarks()","bigbench::output::bot_is_checking()","bigbench::store::bot_is_working()","bigbench::output::bot_received_test_instructions()","bigbench::store::bot_stopped_working()","bigbench::store::bots()","bigbench::check_config!()","bigbench::bot::check_test!()","bigbench::postprocessor::environment#cluster()","bigbench::config()","bigbench::configuration::config()","bigbench::configure=()","bigbench::configuration::configure=()","bigbench::store::count_trackings()","bigbench::fragment::delete()","bigbench::output::deployed_test()","bigbench::postprocessor::environment::polynomialregression#derivation()","bigbench::output::done()","bigbench::duration()","bigbench::postprocessor::environment#each_benchmark()","bigbench::postprocessor::environment#each_tracking()","bigbench::output::finished_bots_loop()","bigbench::output::finished_running_benchmarks()","bigbench::output::finished_writing_trackings()","bigbench::postprocessor::environment::polynomialregression#formula()","bigbench::fragment::get()","bigbench::benchmark::benchmark#is_running?()","bigbench::load_test!()","bigbench::output::loaded_tests()","bigbench::benchmark::looper#loop!()","bigbench::postprocessor::environment::statistics#max()","bigbench::benchmark::max_duration()","bigbench::postprocessor::environment::statistics#mean()","bigbench::configuration::invalidoptions#message()","bigbench::executor::invalidcommand#message()","bigbench::postprocessor::environment::benchmarknotfound#message()","bigbench::postprocessor::invalidprocessor#message()","bigbench::runner::nobenchmarksdefined#message()","bigbench::postprocessor::environment::statistics#min()","bigbench::benchmark::benchmark::new()","bigbench::benchmark::looper::new()","bigbench::configuration::config::new()","bigbench::fragment::fragment::new()","bigbench::postprocessor::environment::appearings::new()","bigbench::postprocessor::environment::attributecluster::new()","bigbench::postprocessor::environment::benchmarknotfound::new()","bigbench::postprocessor::environment::cluster::new()","bigbench::postprocessor::environment::normaldistribution::new()","bigbench::postprocessor::environment::polynomialregression::new()","bigbench::postprocessor::environment::statistics::new()","bigbench::postprocessor::graphs::linegraph::new()","bigbench::postprocessor::graphs::piegraph::new()","bigbench::postprocessor::processor::new()","bigbench::tracker::tracker::new()","eventmachineloop::new()","bigbench::benchmark::looper#next_fragment()","bigbench::postprocessor::environment#normal_distribution()","bigbench::postprocessor::graphs::linegraph#open()","bigbench::postprocessor::graphs::piegraph#open()","bigbench::fragment::parse()","bigbench::postprocessor::environment#polynomial_regression()","bigbench::store::pop_tracking()","bigbench::fragment::post()","bigbench::post_process()","bigbench::post_processors()","object#protected!()","bigbench::fragment::put()","eventmachineloop#request!()","bigbench::output::reset()","bigbench::benchmark::reset!()","bigbench::configuration::reset!()","bigbench::fragment::reset!()","bigbench::postprocessor::reset!()","bigbench::postprocessor::environment::reset!()","bigbench::store::reset!()","bigbench::run!()","bigbench::benchmark::benchmark#run!()","bigbench::executor::run!()","bigbench::fragment::fragment#run!()","bigbench::postprocessor::run!()","bigbench::postprocessor::graphs::run!()","bigbench::postprocessor::processor#run!()","bigbench::postprocessor::statistics::run!()","bigbench::postprocessor::test::run!()","bigbench::runner::run!()","bigbench::run_post_processors!()","bigbench::store::running?()","bigbench::output::running_benchmarks()","bigbench::output::running_bots_loop()","bigbench::postprocessor::environment#scope()","bigbench::postprocessor::environment#scope_to_benchmark()","bigbench::postprocessor::environment::statistics#sd()","bigbench::store::setup!()","bigbench::postprocessor::environment::statistics#squared_deviation()","bigbench::postprocessor::environment::statistics#standard_deviation()","bigbench::output::start()","bigbench::store::start()","bigbench::output::starting_bots_loop()","bigbench::postprocessor::environment#statistics()","bigbench::store::stop()","array#sum()","bigbench::store::test()","bigbench::store::test=()","float#to_milliseconds()","bigbench::tracker::tracker#track()","bigbench::fragment::fragment#track!()","bigbench::postprocessor::environment#trackings()","bigbench::configuration::config#valid?()","helpers#validate_normal_distribution()","bigbench::postprocessor::environment::statistics#variance()","bigbench::postprocessor::graphs::linegraph#write()","bigbench::postprocessor::graphs::piegraph#write()","bigbench::write_local_trackings_to_file!()","bigbench::write_store_trackings_to_file!()","bigbench::write_trackings_to_store!()","bigbench::output::writing_trackings()","bigbench::output::wrote_trackings()","bigbench::postprocessor::environment::normaldistribution#y()","bigbench::postprocessor::environment::polynomialregression#y()","","","",""],"info":[["Array","","Array.html","","<p>Adding the sum and average methods to the default array\n"],["BigBench","","BigBench.html","",""],["BigBench::Benchmark","","BigBench/Benchmark.html","","<p>Holds the actual benchmark methods. A benchmark is a sequence of requests\nto the same server, but to …\n"],["BigBench::Benchmark::Benchmark","","BigBench/Benchmark/Benchmark.html","",""],["BigBench::Benchmark::Looper","","BigBench/Benchmark/Looper.html","",""],["BigBench::Bot","","BigBench/Bot.html","","<p>A bot is used for remote testing. It is running in the background of a\nmachine and waits for tests to …\n"],["BigBench::Configuration","","BigBench/Configuration.html","","<p>The configuration is configured in the test reciepts and looks like this:\n\n<pre>BigBench.configure = {\n :duration ...</pre>\n"],["BigBench::Configuration::Config","","BigBench/Configuration/Config.html","","<p>The main config object for BigBench. It allows config options to be added\nand forces some default values …\n"],["BigBench::Configuration::InvalidOptions","","BigBench/Configuration/InvalidOptions.html","","<p>Is returned if the configuration is not filled sufficiently\n"],["BigBench::Executor","","BigBench/Executor.html","","<p>Dispatches the command line commands to BigBench calls. Available commands\nare:\n<p>Usage:\n\n<pre># Local Testing ...</pre>\n"],["BigBench::Executor::InvalidCommand","","BigBench/Executor/InvalidCommand.html","","<p>Is thrown when the command is not known\n"],["BigBench::Fragment","","BigBench/Fragment.html","","<p>A fragment represents a single http request inside a benchmark. It is\nexecuted by the benchmark and resides …\n"],["BigBench::Fragment::Fragment","","BigBench/Fragment/Fragment.html","",""],["BigBench::Output","","BigBench/Output.html","","<p>This module is used to keep all the command line outputs in a single place.\nThe output module gets notified …\n"],["BigBench::PostProcessor","","BigBench/PostProcessor.html","","<p>Post processors are run after all test are finished and the results are\nwritten to the output file. …\n"],["BigBench::PostProcessor::Environment","","BigBench/PostProcessor/Environment.html","","<p>The environment in which the post processors are evaluated. Every method\ndefined here is available in …\n"],["BigBench::PostProcessor::Environment::Appearings","","BigBench/PostProcessor/Environment/Appearings.html","","<p>Lists the appearing attributes for a scope\n"],["BigBench::PostProcessor::Environment::AttributeCluster","","BigBench/PostProcessor/Environment/AttributeCluster.html","","<p>Creates attribute clusters for all available attributes\n"],["BigBench::PostProcessor::Environment::BenchmarkNotFound","","BigBench/PostProcessor/Environment/BenchmarkNotFound.html","","<p>Is raised when a benchmark scope block doesn’t find the desired benchmark\n"],["BigBench::PostProcessor::Environment::Cluster","","BigBench/PostProcessor/Environment/Cluster.html","","<p>Clusters the trackings in the specified timebase. By default everything is\nclustered by seconds.\n"],["BigBench::PostProcessor::Environment::NormalDistribution","","BigBench/PostProcessor/Environment/NormalDistribution.html","","<p>Calculates a gaussion normal distribution with the mean a variance of the\nsupplied y values\n"],["BigBench::PostProcessor::Environment::PolynomialRegression","","BigBench/PostProcessor/Environment/PolynomialRegression.html","","<p>This class performs the actual regression for a specfied degree and\ntimebase. As x it returns the timebase …\n"],["BigBench::PostProcessor::Environment::Statistics","","BigBench/PostProcessor/Environment/Statistics.html","","<p>Calculates the default statistic values for a given attribute, like the\nduration, requests, etc.\n"],["BigBench::PostProcessor::Graphs","","BigBench/PostProcessor/Graphs.html","",""],["BigBench::PostProcessor::Graphs::LineGraph","","BigBench/PostProcessor/Graphs/LineGraph.html","","<p>Encapsules the gruff line graph\n"],["BigBench::PostProcessor::Graphs::PieGraph","","BigBench/PostProcessor/Graphs/PieGraph.html","","<p>Encapsules the gruff pie graph\n"],["BigBench::PostProcessor::InvalidProcessor","","BigBench/PostProcessor/InvalidProcessor.html","","<p>Thrown if a processor wasn’t initialized the right way\n"],["BigBench::PostProcessor::Processor","","BigBench/PostProcessor/Processor.html","","<p>A single processor, be it a block or a module is always mapped into this\nclass\n"],["BigBench::PostProcessor::Statistics","","BigBench/PostProcessor/Statistics.html","",""],["BigBench::PostProcessor::Test","","BigBench/PostProcessor/Test.html","",""],["BigBench::Runner","","BigBench/Runner.html","","<p>The runner runs all available benchmarks and returns as soon as all of them\nare finished. Additionally …\n"],["BigBench::Runner::NoBenchmarksDefined","","BigBench/Runner/NoBenchmarksDefined.html","","<p>Is thrown when no benchmarks are defined\n"],["BigBench::Store","","BigBench/Store.html","","<p>The store encapsulates the communication with the redis key-value store. To\nthe outside it looks like …\n"],["BigBench::Tracker","","BigBench/Tracker.html","","<p>The tracker records all request results a benchmark makes. When the\nbenchmark is finished, the trackings …\n"],["BigBench::Tracker::Tracker","","BigBench/Tracker/Tracker.html","",""],["EventMachineLoop","","EventMachineLoop.html","",""],["Float","","Float.html","","<p>Adds the <code>to_milliseconds</code> method to any float value\n"],["Helpers","","Helpers.html","",""],["Object","","Object.html","",""],["add","BigBench::Benchmark","BigBench/Benchmark.html#method-c-add","(options, &block)","<p>Adds a benchmark to the <code>BigBench</code> module. It can later be\nretrieved with the <code>all</code> method.\n"],["add","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-add","(processor = nil, options = nil, &block)","<p>Adds a new processor\n"],["add","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-i-add","(title, x, y)",""],["add","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-i-add","(title, percentage)",""],["add_option","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-c-add_option","(name)",""],["add_tracking","BigBench::Store","BigBench/Store.html#method-c-add_tracking","(tracking)","<p>Add a tracking to the trackings\n"],["all","BigBench::Benchmark","BigBench/Benchmark.html#method-c-all","()","<p>Returns all benchmarks that are registered\n"],["all","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-all","()","<p>Returns all initialized processors\n"],["all_requests_done?","EventMachineLoop","EventMachineLoop.html#method-i-all_requests_done-3F","()",""],["appearing","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-appearing","(timebase = 1.second)","<p>Returns an array of appearing attributes in the selected tracking scope.\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">appearing</span>.<span class=\"ruby-identifier\">statuses</span> <span class=\"ruby-comment\"># => [200, ...</span>\n</pre>\n"],["attr_multi_dimension_reader","BigBench::PostProcessor::Environment::Cluster","BigBench/PostProcessor/Environment/Cluster.html#method-c-attr_multi_dimension_reader","(attribute)","<p>Allows the registering of multi dimensioned attributes and 0s out values\nthat aren’t present\n\n<pre>attr_multi_dimension_reader ...</pre>\n"],["authorized?","Object","Object.html#method-i-authorized-3F","()",""],["average","Array","Array.html#method-i-average","()",""],["average","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-average","()",""],["benchmark","BigBench","BigBench.html#method-c-benchmark","(options)","<p>Add a benchmark like this:\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">benchmark</span> <span class=\"ruby-string\">"default website pages"</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-string\">"http://localhost:3000"</span> <span class=\"ruby-keyword\">do</span>\n <span class=\"ruby-identifier\">get</span> <span class=\"ruby-string\">"/"</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["benchmarks","BigBench","BigBench.html#method-c-benchmarks","()","<p>List all available benchmarks\n"],["bot_is_checking","BigBench::Output","BigBench/Output.html#method-c-bot_is_checking","()",""],["bot_is_working","BigBench::Store","BigBench/Store.html#method-c-bot_is_working","(id)","<p>Adds a bot to the currently working bots list\n"],["bot_received_test_instructions","BigBench::Output","BigBench/Output.html#method-c-bot_received_test_instructions","()",""],["bot_stopped_working","BigBench::Store","BigBench/Store.html#method-c-bot_stopped_working","(id)","<p>Removes a bot to the currently working bots list\n"],["bots","BigBench::Store","BigBench/Store.html#method-c-bots","()","<p>Shows all currently working bots\n"],["check_config!","BigBench","BigBench.html#method-c-check_config-21","()","<p>Checks if all necessary config options are set and raises an\n<code>InvalidOptions</code> exception if not\n"],["check_test!","BigBench::Bot","BigBench/Bot.html#method-c-check_test-21","()","<p>Checks if there is a new test waiting on the store.\n<p>If yes, it loads this test and executes it. After …\n"],["cluster","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-cluster","(timebase = 1.second, extra_scope = nil)","<p>Returns a clustered overview of all trackings. By default the trackings are\nclustered by second, but …\n"],["config","BigBench","BigBench.html#method-c-config","()","<p>Set and retreive the config values like this:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-comment\"># => 10.seconds</span>\n<span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["config","BigBench::Configuration","BigBench/Configuration.html#method-c-config","()","<p>Returns the current config object\n"],["configure=","BigBench","BigBench.html#method-c-configure-3D","(config)","<p>Configure the benchmark by supplying a hash of options like this:\n\n<pre>BigBench.configure = {\n :duration ...</pre>\n"],["configure=","BigBench::Configuration","BigBench/Configuration.html#method-c-configure-3D","(config)","<p>Configures the benchmarks with a hash. If the config methods are not\npresent yet, they are added to the …\n"],["count_trackings","BigBench::Store","BigBench/Store.html#method-c-count_trackings","()","<p>How many trackings are in the list\n"],["delete","BigBench::Fragment","BigBench/Fragment.html#method-c-delete","(path, options = {})","<p>Performs a DELETE request to the given url, e.g.\n\n<pre>delete "/books/5"</pre>\n"],["deployed_test","BigBench::Output","BigBench/Output.html#method-c-deployed_test","()",""],["derivation","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-derivation","(derivation = 0)","<p>Returns an array with the computed y-values for the corresponding\nderivation. The default derivation …\n"],["done","BigBench::Output","BigBench/Output.html#method-c-done","()",""],["duration","BigBench","BigBench.html#method-c-duration","()","<p>Returns the duration of all benchmarks - ergo the duration of the longest\none\n"],["each_benchmark","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-each_benchmark","()","<p>Iterates over all benchmarks and automatically executes all methods in the\nbenchmark scope like this: …\n"],["each_tracking","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-each_tracking","()","<p>Iterates through every tracking and returns a tracking hash of the\nfollowing form:\n\n<pre class=\"ruby\">{\n :<span class=\"ruby-identifier\">elapsed</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["finished_bots_loop","BigBench::Output","BigBench/Output.html#method-c-finished_bots_loop","()",""],["finished_running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-finished_running_benchmarks","()",""],["finished_writing_trackings","BigBench::Output","BigBench/Output.html#method-c-finished_writing_trackings","(count)",""],["formula","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-formula","(derivation = 0)","<p>Returns the printed formula of this polynom\n"],["get","BigBench::Fragment","BigBench/Fragment.html#method-c-get","(path, options = {})","<p>Performs a GET request to the given url, e.g.\n\n<pre>get "/some/page"</pre>\n"],["is_running?","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-is_running-3F","()","<p>Returns if this benchmark is currently running\n"],["load_test!","BigBench","BigBench.html#method-c-load_test-21","(test)","<p>Loads a test from a string file that is either parsed from a local file or\nretreived from the key-value …\n"],["loaded_tests","BigBench::Output","BigBench/Output.html#method-c-loaded_tests","()",""],["loop!","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-i-loop-21","()",""],["max","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-max","()","<p>The maximum of the attribute\n"],["max_duration","BigBench::Benchmark","BigBench/Benchmark.html#method-c-max_duration","()","<p>Returns the longest duration of all benchmarks\n"],["mean","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-mean","()","<p>The mean or average of the attribute\n"],["message","BigBench::Configuration::InvalidOptions","BigBench/Configuration/InvalidOptions.html#method-i-message","()",""],["message","BigBench::Executor::InvalidCommand","BigBench/Executor/InvalidCommand.html#method-i-message","()",""],["message","BigBench::PostProcessor::Environment::BenchmarkNotFound","BigBench/PostProcessor/Environment/BenchmarkNotFound.html#method-i-message","()",""],["message","BigBench::PostProcessor::InvalidProcessor","BigBench/PostProcessor/InvalidProcessor.html#method-i-message","()",""],["message","BigBench::Runner::NoBenchmarksDefined","BigBench/Runner/NoBenchmarksDefined.html#method-i-message","()",""],["min","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-min","()","<p>The minimum of the attribute\n"],["new","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-c-new","(name, url, options, &block)","<p>Initizalizes a new benchmark\n"],["new","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-c-new","(benchmark)",""],["new","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-c-new","()",""],["new","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-c-new","(benchmark, path, method, options = {})",""],["new","BigBench::PostProcessor::Environment::Appearings","BigBench/PostProcessor/Environment/Appearings.html#method-c-new","(scope = :all)",""],["new","BigBench::PostProcessor::Environment::AttributeCluster","BigBench/PostProcessor/Environment/AttributeCluster.html#method-c-new","(klass, options = {})",""],["new","BigBench::PostProcessor::Environment::BenchmarkNotFound","BigBench/PostProcessor/Environment/BenchmarkNotFound.html#method-c-new","(unexistant_benchmark)",""],["new","BigBench::PostProcessor::Environment::Cluster","BigBench/PostProcessor/Environment/Cluster.html#method-c-new","(timebase = 1.second, scope = :all)",""],["new","BigBench::PostProcessor::Environment::NormalDistribution","BigBench/PostProcessor/Environment/NormalDistribution.html#method-c-new","(x, y, degree)",""],["new","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-c-new","(x, y, degree)",""],["new","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-c-new","(x, y, degree)",""],["new","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-c-new","(title, options = {})",""],["new","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-c-new","(title, options = {})",""],["new","BigBench::PostProcessor::Processor","BigBench/PostProcessor/Processor.html#method-c-new","(processor = nil, options = {}, &block)","<p>Creates the processor with the block or a processor\n"],["new","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-c-new","()",""],["new","EventMachineLoop","EventMachineLoop.html#method-c-new","(loops)",""],["next_fragment","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-i-next_fragment","()",""],["normal_distribution","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-normal_distribution","(timebase = 1.second)","<p>Returns a gaussian distribution for the specified attribute. It\nautomatically calculates the neccessary …\n"],["open","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-i-open","()",""],["open","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-i-open","()",""],["parse","BigBench::Fragment","BigBench/Fragment.html#method-c-parse","(benchmark, &block)","<p>Evaluates a benchmark block full of puts and gets and returns an array of\nfully configured fragments …\n"],["polynomial_regression","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-polynomial_regression","(new_options = {})","<p>Returns a polynomial regression of a degree, a derivation and a timebase.\nPossible options are:\n\n<pre>[:degree] ...</pre>\n"],["pop_tracking","BigBench::Store","BigBench/Store.html#method-c-pop_tracking","()","<p>Pop a tracking from the beginning of the list\n"],["post","BigBench::Fragment","BigBench/Fragment.html#method-c-post","(path, options = {})","<p>Performs a POST request to the given url, e.g.\n\n<pre>post "/login"</pre>\n"],["post_process","BigBench","BigBench.html#method-c-post_process","(processor = nil, options = {})","<p>To setup a post processor simply do this:\n\n<pre>post_process do\n # Some code that is executed after the tests, ...</pre>\n"],["post_processors","BigBench","BigBench.html#method-c-post_processors","()","<p>List all initialized post processors\n"],["protected!","Object","Object.html#method-i-protected-21","()",""],["put","BigBench::Fragment","BigBench/Fragment.html#method-c-put","(path, options = {})","<p>Performs a PUT request to the given url, e.g.\n\n<pre>put "/books"</pre>\n"],["request!","EventMachineLoop","EventMachineLoop.html#method-i-request-21","()",""],["reset","BigBench::Output","BigBench/Output.html#method-c-reset","()",""],["reset!","BigBench::Benchmark","BigBench/Benchmark.html#method-c-reset-21","()","<p>Resets all benchmarks\n"],["reset!","BigBench::Configuration","BigBench/Configuration.html#method-c-reset-21","()","<p>Resets the config object\n"],["reset!","BigBench::Fragment","BigBench/Fragment.html#method-c-reset-21","()","<p>Reset all fragments\n"],["reset!","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-reset-21","()","<p>Resets all post processors\n"],["reset!","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-c-reset-21","()","<p>Resets the whole post processor environment\n"],["reset!","BigBench::Store","BigBench/Store.html#method-c-reset-21","()","<p>Deletes all BigBench related keys on the redis store\n"],["run!","BigBench","BigBench.html#method-c-run-21","()","<p>Runs all initialized benchmarks\n"],["run!","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-run-21","()","<p>Execute this benchmark\n"],["run!","BigBench::Executor","BigBench/Executor.html#method-c-run-21","(argv)","<p>Parses and runs the BigBench funtion that is supplied via the commandline’s\nARGV. It throws an <code>InvalidCommand</code> …\n"],["run!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-run-21","()","<p>Initiates the request in the context of a <code>Net::HTTP.start</code>\nblock\n"],["run!","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-run-21","()","<p>Runs all post processors in the order they were defined\n"],["run!","BigBench::PostProcessor::Graphs","BigBench/PostProcessor/Graphs.html#method-c-run-21","(options)",""],["run!","BigBench::PostProcessor::Processor","BigBench/PostProcessor/Processor.html#method-i-run-21","()","<p>Run the block of code or the run! method of the processor\n"],["run!","BigBench::PostProcessor::Statistics","BigBench/PostProcessor/Statistics.html#method-c-run-21","(options)",""],["run!","BigBench::PostProcessor::Test","BigBench/PostProcessor/Test.html#method-c-run-21","(options)",""],["run!","BigBench::Runner","BigBench/Runner.html#method-c-run-21","()","<p>Runs all benchmarks\n"],["run_post_processors!","BigBench","BigBench.html#method-c-run_post_processors-21","()","<p>Runs all initialized post processors after the trackings have been written\n"],["running?","BigBench::Store","BigBench/Store.html#method-c-running-3F","()","<p>Returns true if a bot test has been started\n"],["running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-running_benchmarks","()",""],["running_bots_loop","BigBench::Output","BigBench/Output.html#method-c-running_bots_loop","(bots)",""],["scope","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-scope","()","<p>Returns the current scope the environment works in\n"],["scope_to_benchmark","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-scope_to_benchmark","(name)","<p>Executes the including methods in the scope of the benchmark:\n\n<pre># For the "index page" benchmark\nscope_to_benchmark ...</pre>\n"],["sd","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-sd","()",""],["setup!","BigBench::Store","BigBench/Store.html#method-c-setup-21","(url = \"localhost:6379\", password = nil)","<p>Setup the redis storage. Default values are <code>localhost:6379</code> and\nno password. This needs to be called for …\n"],["squared_deviation","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-squared_deviation","()","<p>The squared deviation or variance of the attribute\n"],["standard_deviation","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-standard_deviation","()","<p>The standard deviation or sd of the attribute\n"],["start","BigBench::Output","BigBench/Output.html#method-c-start","()",""],["start","BigBench::Store","BigBench/Store.html#method-c-start","()","<p>Start the tests for all bots by setting the running key\n"],["starting_bots_loop","BigBench::Output","BigBench/Output.html#method-c-starting_bots_loop","()",""],["statistics","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-statistics","(timebase = 1.second)","<p>Returns the default statistics for a given attribute. The following\nstatistics are available:\n\n<pre>statistics.durations.max ...</pre>\n"],["stop","BigBench::Store","BigBench/Store.html#method-c-stop","()","<p>Stops the test for all bots by unsetting the running key\n"],["sum","Array","Array.html#method-i-sum","()",""],["test","BigBench::Store","BigBench/Store.html#method-c-test","()","<p>Gets the current test from the redis\n"],["test=","BigBench::Store","BigBench/Store.html#method-c-test-3D","(test)","<p>Stores the current test receipt for all bots on the redis instance\n"],["to_milliseconds","Float","Float.html#method-i-to_milliseconds","()",""],["track","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-i-track","(object)",""],["track!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-track-21","(start, stop, http)","<p>Adds the current tracking result as a hash to the benchmark’s tracker\n"],["trackings","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-trackings","()","<p>Puts all tracking hashes into a huge array. Warning, this method call might\ntake quite long! The results …\n"],["valid?","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-i-valid-3F","()",""],["validate_normal_distribution","Helpers","Helpers.html#method-i-validate_normal_distribution","(distribution)",""],["variance","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-variance","()",""],["write","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-i-write","(file)",""],["write","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-i-write","(file)",""],["write_local_trackings_to_file!","BigBench","BigBench.html#method-c-write_local_trackings_to_file-21","()","<p>Writes the locals trackings from the benchmark to a file\n"],["write_store_trackings_to_file!","BigBench","BigBench.html#method-c-write_store_trackings_to_file-21","()","<p>Gathers the trackings from the redis and writes them to a local file\n"],["write_trackings_to_store!","BigBench","BigBench.html#method-c-write_trackings_to_store-21","()","<p>Writes the trackings of a bot to the redis after he finishes the run\n"],["writing_trackings","BigBench::Output","BigBench/Output.html#method-c-writing_trackings","(count)",""],["wrote_trackings","BigBench::Output","BigBench/Output.html#method-c-wrote_trackings","(count)",""],["y","BigBench::PostProcessor::Environment::NormalDistribution","BigBench/PostProcessor/Environment/NormalDistribution.html#method-i-y","()","<p>Returns an array with the distribution values like this:\n\n<pre>[0.0, 0.1, 1.2, 4.5, 10.8, 4.5, 1.2, 0.1, 0.0]</pre>\n"],["y","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-y","()","<p>Returns an array with the regression values like this:\n\n<pre>[2.5, 2.6, 2.7, 2.8, 3.0, 3.2, 3.4, 3.8, 4.0, 4.9]</pre>\n"],["Gemfile","","Gemfile.html","","<p>source “rubygems.org”\n<p># Specify your gem’s dependencies in big_bench.gemspec gemspec\n"],["README","","README_rdoc.html","","<p>BigBench\n<p>BigBench is a http penetration tool. It allows you to test the performance\nof any web server …\n"],["Rakefile","","Rakefile.html","","<p>require “bundler/gem_tasks” require “rack” require “RedCloth” require\n“redcloth-formatters-rdoc” …\n"],["executor","","lib/bigbench/help/executor_txt.html","","<p>Usage:\n\n<pre># Local Testing\nbigbench run local PATH_TO_TEST # Runs a ...</pre>\n"]]}}
|
1
|
+
var search_data = {"index":{"searchIndex":["array","bigbench","benchmark","benchmark","looper","bot","configuration","executor","executable","fragment","fragment","output","postprocessor","context","environment","appearings","attributecluster","benchmarknotfound","cluster","normaldistribution","polynomialregression","statistics","graphs","linegraph","piegraph","invalidprocessor","processor","statistics","test","testpretty","runner","nobenchmarksdefined","store","tracker","tracker","eventmachineloop","float","helpers","object","add()","add()","add()","add()","add_tracking()","all()","all()","all_requests_done?()","appearing()","attr_multi_dimension_reader()","authorized?()","average()","average()","benchmark()","benchmarks()","bot()","bot_is_checking()","bot_is_working()","bot_received_test_instructions()","bot_stopped_working()","bots()","bots()","check_test!()","cluster()","config()","config()","configure()","count_trackings()","default()","delete()","deployed_test()","derivation()","done()","duration()","each_benchmark()","each_tracking()","finished_bots_loop()","finished_running_benchmarks()","finished_writing_trackings()","formula()","generate()","get()","is_running?()","load_test!()","loaded_tests()","local()","loop!()","max()","max_duration()","mean()","message()","message()","message()","min()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","next_fragment()","normal_distribution()","open()","open()","parse()","polynomial_regression()","pop_tracking()","post()","post_process()","post_processors()","process()","protected!()","put()","request!()","reset()","reset()","reset!()","reset!()","reset!()","reset!()","reset!()","reset!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run!()","run_post_processors!()","running?()","running_benchmarks()","running_bots_loop()","scope()","scope_to_benchmark()","sd()","setup!()","source_root()","squared_deviation()","standard_deviation()","start()","start()","starting_bots_loop()","statistics()","stop()","sum()","test()","test=()","to_milliseconds()","track()","track!()","trackings()","validate_normal_distribution()","variance()","write()","write()","write_local_trackings_to_file!()","write_store_trackings_to_file!()","write_trackings_to_store!()","writing_trackings()","wrote_trackings()","y()","y()","gemfile","readme","rakefile","executor"],"longSearchIndex":["array","bigbench","bigbench::benchmark","bigbench::benchmark::benchmark","bigbench::benchmark::looper","bigbench::bot","bigbench::configuration","bigbench::executor","bigbench::executor::executable","bigbench::fragment","bigbench::fragment::fragment","bigbench::output","bigbench::postprocessor","bigbench::postprocessor::context","bigbench::postprocessor::environment","bigbench::postprocessor::environment::appearings","bigbench::postprocessor::environment::attributecluster","bigbench::postprocessor::environment::benchmarknotfound","bigbench::postprocessor::environment::cluster","bigbench::postprocessor::environment::normaldistribution","bigbench::postprocessor::environment::polynomialregression","bigbench::postprocessor::environment::statistics","bigbench::postprocessor::graphs","bigbench::postprocessor::graphs::linegraph","bigbench::postprocessor::graphs::piegraph","bigbench::postprocessor::invalidprocessor","bigbench::postprocessor::processor","bigbench::postprocessor::statistics","bigbench::postprocessor::test","bigbench::postprocessor::testpretty","bigbench::runner","bigbench::runner::nobenchmarksdefined","bigbench::store","bigbench::tracker","bigbench::tracker::tracker","eventmachineloop","float","helpers","object","bigbench::benchmark::add()","bigbench::postprocessor::add()","bigbench::postprocessor::graphs::linegraph#add()","bigbench::postprocessor::graphs::piegraph#add()","bigbench::store::add_tracking()","bigbench::benchmark::all()","bigbench::postprocessor::all()","eventmachineloop#all_requests_done?()","bigbench::postprocessor::environment#appearing()","bigbench::postprocessor::environment::cluster::attr_multi_dimension_reader()","object#authorized?()","array#average()","bigbench::postprocessor::environment::statistics#average()","bigbench::benchmark()","bigbench::benchmarks()","bigbench::executor::executable#bot()","bigbench::output::bot_is_checking()","bigbench::store::bot_is_working()","bigbench::output::bot_received_test_instructions()","bigbench::store::bot_stopped_working()","bigbench::executor::executable#bots()","bigbench::store::bots()","bigbench::bot::check_test!()","bigbench::postprocessor::environment#cluster()","bigbench::config()","bigbench::configuration::config()","bigbench::configure()","bigbench::store::count_trackings()","bigbench::executor::executable#default()","bigbench::fragment::delete()","bigbench::output::deployed_test()","bigbench::postprocessor::environment::polynomialregression#derivation()","bigbench::output::done()","bigbench::duration()","bigbench::postprocessor::environment#each_benchmark()","bigbench::postprocessor::environment#each_tracking()","bigbench::output::finished_bots_loop()","bigbench::output::finished_running_benchmarks()","bigbench::output::finished_writing_trackings()","bigbench::postprocessor::environment::polynomialregression#formula()","bigbench::executor::executable#generate()","bigbench::fragment::get()","bigbench::benchmark::benchmark#is_running?()","bigbench::load_test!()","bigbench::output::loaded_tests()","bigbench::executor::executable#local()","bigbench::benchmark::looper#loop!()","bigbench::postprocessor::environment::statistics#max()","bigbench::benchmark::max_duration()","bigbench::postprocessor::environment::statistics#mean()","bigbench::postprocessor::environment::benchmarknotfound#message()","bigbench::postprocessor::invalidprocessor#message()","bigbench::runner::nobenchmarksdefined#message()","bigbench::postprocessor::environment::statistics#min()","bigbench::benchmark::benchmark::new()","bigbench::benchmark::looper::new()","bigbench::fragment::fragment::new()","bigbench::postprocessor::environment::appearings::new()","bigbench::postprocessor::environment::attributecluster::new()","bigbench::postprocessor::environment::benchmarknotfound::new()","bigbench::postprocessor::environment::cluster::new()","bigbench::postprocessor::environment::normaldistribution::new()","bigbench::postprocessor::environment::polynomialregression::new()","bigbench::postprocessor::environment::statistics::new()","bigbench::postprocessor::graphs::linegraph::new()","bigbench::postprocessor::graphs::piegraph::new()","bigbench::postprocessor::processor::new()","bigbench::tracker::tracker::new()","eventmachineloop::new()","bigbench::benchmark::looper#next_fragment()","bigbench::postprocessor::environment#normal_distribution()","bigbench::postprocessor::graphs::linegraph#open()","bigbench::postprocessor::graphs::piegraph#open()","bigbench::fragment::parse()","bigbench::postprocessor::environment#polynomial_regression()","bigbench::store::pop_tracking()","bigbench::fragment::post()","bigbench::post_process()","bigbench::post_processors()","bigbench::executor::executable#process()","object#protected!()","bigbench::fragment::put()","eventmachineloop#request!()","bigbench::executor::executable#reset()","bigbench::output::reset()","bigbench::benchmark::reset!()","bigbench::configuration::reset!()","bigbench::fragment::reset!()","bigbench::postprocessor::reset!()","bigbench::postprocessor::environment::reset!()","bigbench::store::reset!()","bigbench::run!()","bigbench::benchmark::benchmark#run!()","bigbench::fragment::fragment#run!()","bigbench::postprocessor::run!()","bigbench::postprocessor::graphs::run!()","bigbench::postprocessor::processor#run!()","bigbench::postprocessor::statistics::run!()","bigbench::postprocessor::test::run!()","bigbench::postprocessor::testpretty::run!()","bigbench::runner::run!()","bigbench::run_post_processors!()","bigbench::store::running?()","bigbench::output::running_benchmarks()","bigbench::output::running_bots_loop()","bigbench::postprocessor::environment#scope()","bigbench::postprocessor::environment#scope_to_benchmark()","bigbench::postprocessor::environment::statistics#sd()","bigbench::store::setup!()","bigbench::executor::executable::source_root()","bigbench::postprocessor::environment::statistics#squared_deviation()","bigbench::postprocessor::environment::statistics#standard_deviation()","bigbench::output::start()","bigbench::store::start()","bigbench::output::starting_bots_loop()","bigbench::postprocessor::environment#statistics()","bigbench::store::stop()","array#sum()","bigbench::store::test()","bigbench::store::test=()","float#to_milliseconds()","bigbench::tracker::tracker#track()","bigbench::fragment::fragment#track!()","bigbench::postprocessor::environment#trackings()","helpers#validate_normal_distribution()","bigbench::postprocessor::environment::statistics#variance()","bigbench::postprocessor::graphs::linegraph#write()","bigbench::postprocessor::graphs::piegraph#write()","bigbench::write_local_trackings_to_file!()","bigbench::write_store_trackings_to_file!()","bigbench::write_trackings_to_store!()","bigbench::output::writing_trackings()","bigbench::output::wrote_trackings()","bigbench::postprocessor::environment::normaldistribution#y()","bigbench::postprocessor::environment::polynomialregression#y()","","","",""],"info":[["Array","","Array.html","","<p>Adding the sum and average methods to the default array\n"],["BigBench","","BigBench.html","",""],["BigBench::Benchmark","","BigBench/Benchmark.html","","<p>Holds the actual benchmark methods. A benchmark is a sequence of requests\nto the same server, but to …\n"],["BigBench::Benchmark::Benchmark","","BigBench/Benchmark/Benchmark.html","",""],["BigBench::Benchmark::Looper","","BigBench/Benchmark/Looper.html","",""],["BigBench::Bot","","BigBench/Bot.html","","<p>A bot is used for remote testing. It is running in the background of a\nmachine and waits for tests to …\n"],["BigBench::Configuration","","BigBench/Configuration.html","","<p>The configuration is configured in the test reciepts and looks like this:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">configure</span> <span class=\"ruby-keyword\">do</span> <span class=\"ruby-operator\">|</span><span class=\"ruby-identifier\">config</span><span class=\"ruby-operator\">|</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["BigBench::Executor","","BigBench/Executor.html","","<p>Dispatches the command line commands to BigBench calls. Available commands\nare:\n<p>Tasks:\n\n<pre>bigbench -v ...</pre>\n"],["BigBench::Executor::Executable","","BigBench/Executor/Executable.html","",""],["BigBench::Fragment","","BigBench/Fragment.html","","<p>A fragment represents a single http request inside a benchmark. It is\nexecuted by the benchmark and resides …\n"],["BigBench::Fragment::Fragment","","BigBench/Fragment/Fragment.html","",""],["BigBench::Output","","BigBench/Output.html","","<p>This module is used to keep all the command line outputs in a single place.\nThe output module gets notified …\n"],["BigBench::PostProcessor","","BigBench/PostProcessor.html","","<p>Post processors are run after all test are finished and the results are\nwritten to the output file. …\n"],["BigBench::PostProcessor::Context","","BigBench/PostProcessor/Context.html","","<p>The context in which post processor procs are evaluated\n"],["BigBench::PostProcessor::Environment","","BigBench/PostProcessor/Environment.html","","<p>The environment in which the post processors are evaluated. Every method\ndefined here is available in …\n"],["BigBench::PostProcessor::Environment::Appearings","","BigBench/PostProcessor/Environment/Appearings.html","","<p>Lists the appearing attributes for a scope\n"],["BigBench::PostProcessor::Environment::AttributeCluster","","BigBench/PostProcessor/Environment/AttributeCluster.html","","<p>Creates attribute clusters for all available attributes\n"],["BigBench::PostProcessor::Environment::BenchmarkNotFound","","BigBench/PostProcessor/Environment/BenchmarkNotFound.html","","<p>Is raised when a benchmark scope block doesn’t find the desired benchmark\n"],["BigBench::PostProcessor::Environment::Cluster","","BigBench/PostProcessor/Environment/Cluster.html","","<p>Clusters the trackings in the specified timebase. By default everything is\nclustered by seconds.\n"],["BigBench::PostProcessor::Environment::NormalDistribution","","BigBench/PostProcessor/Environment/NormalDistribution.html","","<p>Calculates a gaussion normal distribution with the mean a variance of the\nsupplied y values\n"],["BigBench::PostProcessor::Environment::PolynomialRegression","","BigBench/PostProcessor/Environment/PolynomialRegression.html","","<p>This class performs the actual regression for a specfied degree and\ntimebase. As x it returns the timebase …\n"],["BigBench::PostProcessor::Environment::Statistics","","BigBench/PostProcessor/Environment/Statistics.html","","<p>Calculates the default statistic values for a given attribute, like the\nduration, requests, etc.\n"],["BigBench::PostProcessor::Graphs","","BigBench/PostProcessor/Graphs.html","",""],["BigBench::PostProcessor::Graphs::LineGraph","","BigBench/PostProcessor/Graphs/LineGraph.html","","<p>Encapsules the gruff line graph\n"],["BigBench::PostProcessor::Graphs::PieGraph","","BigBench/PostProcessor/Graphs/PieGraph.html","","<p>Encapsules the gruff pie graph\n"],["BigBench::PostProcessor::InvalidProcessor","","BigBench/PostProcessor/InvalidProcessor.html","","<p>Thrown if a processor wasn’t initialized the right way\n"],["BigBench::PostProcessor::Processor","","BigBench/PostProcessor/Processor.html","","<p>A single processor, be it a block or a module is always mapped into this\nclass\n"],["BigBench::PostProcessor::Statistics","","BigBench/PostProcessor/Statistics.html","",""],["BigBench::PostProcessor::Test","","BigBench/PostProcessor/Test.html","",""],["BigBench::PostProcessor::TestPretty","","BigBench/PostProcessor/TestPretty.html","",""],["BigBench::Runner","","BigBench/Runner.html","","<p>The runner runs all available benchmarks and returns as soon as all of them\nare finished. Additionally …\n"],["BigBench::Runner::NoBenchmarksDefined","","BigBench/Runner/NoBenchmarksDefined.html","","<p>Is thrown when no benchmarks are defined\n"],["BigBench::Store","","BigBench/Store.html","","<p>The store encapsulates the communication with the redis key-value store. To\nthe outside it looks like …\n"],["BigBench::Tracker","","BigBench/Tracker.html","","<p>The tracker records all request results a benchmark makes. When the\nbenchmark is finished, the trackings …\n"],["BigBench::Tracker::Tracker","","BigBench/Tracker/Tracker.html","",""],["EventMachineLoop","","EventMachineLoop.html","",""],["Float","","Float.html","","<p>Adds the <code>to_milliseconds</code> method to any float value\n"],["Helpers","","Helpers.html","",""],["Object","","Object.html","",""],["add","BigBench::Benchmark","BigBench/Benchmark.html#method-c-add","(options, &block)","<p>Adds a benchmark to the <code>BigBench</code> module. It can later be\nretrieved with the <code>all</code> method.\n"],["add","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-add","(processor = nil, options = nil, &block)","<p>Adds a new processor\n"],["add","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-i-add","(title, x, y)",""],["add","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-i-add","(title, percentage)",""],["add_tracking","BigBench::Store","BigBench/Store.html#method-c-add_tracking","(tracking)","<p>Add a tracking to the trackings\n"],["all","BigBench::Benchmark","BigBench/Benchmark.html#method-c-all","()","<p>Returns all benchmarks that are registered\n"],["all","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-all","()","<p>Returns all initialized processors\n"],["all_requests_done?","EventMachineLoop","EventMachineLoop.html#method-i-all_requests_done-3F","()",""],["appearing","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-appearing","(timebase = 1.second)","<p>Returns an array of appearing attributes in the selected tracking scope.\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">appearing</span>.<span class=\"ruby-identifier\">statuses</span> <span class=\"ruby-comment\"># => [200, ...</span>\n</pre>\n"],["attr_multi_dimension_reader","BigBench::PostProcessor::Environment::Cluster","BigBench/PostProcessor/Environment/Cluster.html#method-c-attr_multi_dimension_reader","(attribute)","<p>Allows the registering of multi dimensioned attributes and 0s out values\nthat aren’t present\n\n<pre>attr_multi_dimension_reader ...</pre>\n"],["authorized?","Object","Object.html#method-i-authorized-3F","()",""],["average","Array","Array.html#method-i-average","()",""],["average","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-average","()",""],["benchmark","BigBench","BigBench.html#method-c-benchmark","(options)","<p>Add a benchmark like this:\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">benchmark</span> <span class=\"ruby-string\">"default website pages"</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-string\">"http://localhost:3000"</span> <span class=\"ruby-keyword\">do</span>\n <span class=\"ruby-identifier\">get</span> <span class=\"ruby-string\">"/"</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["benchmarks","BigBench","BigBench.html#method-c-benchmarks","()","<p>List all available benchmarks\n"],["bot","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-i-bot","(redis_url = nil, redis_password = nil)",""],["bot_is_checking","BigBench::Output","BigBench/Output.html#method-c-bot_is_checking","()",""],["bot_is_working","BigBench::Store","BigBench/Store.html#method-c-bot_is_working","(id)","<p>Adds a bot to the currently working bots list\n"],["bot_received_test_instructions","BigBench::Output","BigBench/Output.html#method-c-bot_received_test_instructions","()",""],["bot_stopped_working","BigBench::Store","BigBench/Store.html#method-c-bot_stopped_working","(id)","<p>Removes a bot to the currently working bots list\n"],["bots","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-i-bots","(file, redis_url = nil, redis_password = nil)",""],["bots","BigBench::Store","BigBench/Store.html#method-c-bots","()","<p>Shows all currently working bots\n"],["check_test!","BigBench::Bot","BigBench/Bot.html#method-c-check_test-21","()","<p>Checks if there is a new test waiting on the store.\n<p>If yes, it loads this test and executes it. After …\n"],["cluster","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-cluster","(timebase = 1.second, extra_scope = nil)","<p>Returns a clustered overview of all trackings. By default the trackings are\nclustered by second, but …\n"],["config","BigBench","BigBench.html#method-c-config","()","<p>Set and retreive the config values like this:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-comment\"># => 10.seconds</span>\n<span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["config","BigBench::Configuration","BigBench/Configuration.html#method-c-config","()","<p>Returns tor creates the config object\n"],["configure","BigBench","BigBench.html#method-c-configure","()","<p>Configure the benchmark by supplying a hash of options like this:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">configure</span> <span class=\"ruby-keyword\">do</span> <span class=\"ruby-operator\">|</span><span class=\"ruby-identifier\">config</span><span class=\"ruby-operator\">|</span>\n <span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["count_trackings","BigBench::Store","BigBench/Store.html#method-c-count_trackings","()","<p>How many trackings are in the list\n"],["default","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-i-default","()",""],["delete","BigBench::Fragment","BigBench/Fragment.html#method-c-delete","(path, options = {})","<p>Performs a DELETE request to the given url, e.g.\n\n<pre>delete "/books/5"</pre>\n"],["deployed_test","BigBench::Output","BigBench/Output.html#method-c-deployed_test","()",""],["derivation","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-derivation","(derivation = 0)","<p>Returns an array with the computed y-values for the corresponding\nderivation. The default derivation …\n"],["done","BigBench::Output","BigBench/Output.html#method-c-done","()",""],["duration","BigBench","BigBench.html#method-c-duration","()","<p>Returns the duration of all benchmarks - ergo the duration of the longest\none\n"],["each_benchmark","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-each_benchmark","()","<p>Iterates over all benchmarks and automatically executes all methods in the\nbenchmark scope like this: …\n"],["each_tracking","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-each_tracking","()","<p>Iterates through every tracking and returns a tracking hash of the\nfollowing form:\n\n<pre class=\"ruby\">{\n :<span class=\"ruby-identifier\">elapsed</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["finished_bots_loop","BigBench::Output","BigBench/Output.html#method-c-finished_bots_loop","()",""],["finished_running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-finished_running_benchmarks","()",""],["finished_writing_trackings","BigBench::Output","BigBench/Output.html#method-c-finished_writing_trackings","(count)",""],["formula","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-formula","(derivation = 0)","<p>Returns the printed formula of this polynom\n"],["generate","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-i-generate","(name)",""],["get","BigBench::Fragment","BigBench/Fragment.html#method-c-get","(path, options = {})","<p>Performs a GET request to the given url, e.g.\n\n<pre>get "/some/page"</pre>\n"],["is_running?","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-is_running-3F","()","<p>Returns if this benchmark is currently running\n"],["load_test!","BigBench","BigBench.html#method-c-load_test-21","(test)","<p>Loads a test from a string file that is either parsed from a local file or\nretreived from the key-value …\n"],["loaded_tests","BigBench::Output","BigBench/Output.html#method-c-loaded_tests","()",""],["local","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-i-local","(file)",""],["loop!","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-i-loop-21","()",""],["max","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-max","()","<p>The maximum of the attribute\n"],["max_duration","BigBench::Benchmark","BigBench/Benchmark.html#method-c-max_duration","()","<p>Returns the longest duration of all benchmarks\n"],["mean","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-mean","()","<p>The mean or average of the attribute\n"],["message","BigBench::PostProcessor::Environment::BenchmarkNotFound","BigBench/PostProcessor/Environment/BenchmarkNotFound.html#method-i-message","()",""],["message","BigBench::PostProcessor::InvalidProcessor","BigBench/PostProcessor/InvalidProcessor.html#method-i-message","()",""],["message","BigBench::Runner::NoBenchmarksDefined","BigBench/Runner/NoBenchmarksDefined.html#method-i-message","()",""],["min","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-min","()","<p>The minimum of the attribute\n"],["new","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-c-new","(name, url, options, &block)","<p>Initizalizes a new benchmark\n"],["new","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-c-new","(benchmark)",""],["new","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-c-new","(benchmark, path, method, options = {})",""],["new","BigBench::PostProcessor::Environment::Appearings","BigBench/PostProcessor/Environment/Appearings.html#method-c-new","(scope = :all)",""],["new","BigBench::PostProcessor::Environment::AttributeCluster","BigBench/PostProcessor/Environment/AttributeCluster.html#method-c-new","(klass, options = {})",""],["new","BigBench::PostProcessor::Environment::BenchmarkNotFound","BigBench/PostProcessor/Environment/BenchmarkNotFound.html#method-c-new","(unexistant_benchmark)",""],["new","BigBench::PostProcessor::Environment::Cluster","BigBench/PostProcessor/Environment/Cluster.html#method-c-new","(timebase = 1.second, scope = :all)",""],["new","BigBench::PostProcessor::Environment::NormalDistribution","BigBench/PostProcessor/Environment/NormalDistribution.html#method-c-new","(x, y, degree)",""],["new","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-c-new","(x, y, degree)",""],["new","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-c-new","(x, y, degree)",""],["new","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-c-new","(title, options = {})",""],["new","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-c-new","(title, options = {})",""],["new","BigBench::PostProcessor::Processor","BigBench/PostProcessor/Processor.html#method-c-new","(processor = nil, options = {}, &block)","<p>Creates the processor with the block or a processor\n"],["new","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-c-new","()",""],["new","EventMachineLoop","EventMachineLoop.html#method-c-new","(loops)",""],["next_fragment","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-i-next_fragment","()",""],["normal_distribution","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-normal_distribution","(timebase = 1.second)","<p>Returns a gaussian distribution for the specified attribute. It\nautomatically calculates the neccessary …\n"],["open","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-i-open","()",""],["open","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-i-open","()",""],["parse","BigBench::Fragment","BigBench/Fragment.html#method-c-parse","(benchmark, &block)","<p>Evaluates a benchmark block full of puts and gets and returns an array of\nfully configured fragments …\n"],["polynomial_regression","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-polynomial_regression","(new_options = {})","<p>Returns a polynomial regression of a degree, a derivation and a timebase.\nPossible options are:\n\n<pre>[:degree] ...</pre>\n"],["pop_tracking","BigBench::Store","BigBench/Store.html#method-c-pop_tracking","()","<p>Pop a tracking from the beginning of the list\n"],["post","BigBench::Fragment","BigBench/Fragment.html#method-c-post","(path, options = {})","<p>Performs a POST request to the given url, e.g.\n\n<pre>post "/login"</pre>\n"],["post_process","BigBench","BigBench.html#method-c-post_process","(processor = nil, options = {})","<p>To setup a post processor simply do this:\n\n<pre>post_process do\n # Some code that is executed after the tests, ...</pre>\n"],["post_processors","BigBench","BigBench.html#method-c-post_processors","()","<p>List all initialized post processors\n"],["process","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-i-process","(file, post_processor = nil)",""],["protected!","Object","Object.html#method-i-protected-21","()",""],["put","BigBench::Fragment","BigBench/Fragment.html#method-c-put","(path, options = {})","<p>Performs a PUT request to the given url, e.g.\n\n<pre>put "/books"</pre>\n"],["request!","EventMachineLoop","EventMachineLoop.html#method-i-request-21","()",""],["reset","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-i-reset","(redis_url = nil, redis_password = nil)",""],["reset","BigBench::Output","BigBench/Output.html#method-c-reset","()",""],["reset!","BigBench::Benchmark","BigBench/Benchmark.html#method-c-reset-21","()","<p>Resets all benchmarks\n"],["reset!","BigBench::Configuration","BigBench/Configuration.html#method-c-reset-21","()","<p>Resets the config object\n"],["reset!","BigBench::Fragment","BigBench/Fragment.html#method-c-reset-21","()","<p>Reset all fragments\n"],["reset!","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-reset-21","()","<p>Resets all post processors\n"],["reset!","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-c-reset-21","()","<p>Resets the whole post processor environment\n"],["reset!","BigBench::Store","BigBench/Store.html#method-c-reset-21","()","<p>Deletes all BigBench related keys on the redis store\n"],["run!","BigBench","BigBench.html#method-c-run-21","()","<p>Runs all initialized benchmarks\n"],["run!","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-run-21","()","<p>Execute this benchmark\n"],["run!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-run-21","()","<p>Initiates the request in the context of a <code>Net::HTTP.start</code>\nblock\n"],["run!","BigBench::PostProcessor","BigBench/PostProcessor.html#method-c-run-21","()","<p>Runs all post processors in the order they were defined\n"],["run!","BigBench::PostProcessor::Graphs","BigBench/PostProcessor/Graphs.html#method-c-run-21","(options)",""],["run!","BigBench::PostProcessor::Processor","BigBench/PostProcessor/Processor.html#method-i-run-21","()","<p>Run the block of code or the run! method of the processor\n"],["run!","BigBench::PostProcessor::Statistics","BigBench/PostProcessor/Statistics.html#method-c-run-21","(options)",""],["run!","BigBench::PostProcessor::Test","BigBench/PostProcessor/Test.html#method-c-run-21","(options)",""],["run!","BigBench::PostProcessor::TestPretty","BigBench/PostProcessor/TestPretty.html#method-c-run-21","(options)",""],["run!","BigBench::Runner","BigBench/Runner.html#method-c-run-21","()","<p>Runs all benchmarks\n"],["run_post_processors!","BigBench","BigBench.html#method-c-run_post_processors-21","()","<p>Runs all initialized post processors after the trackings have been written\n"],["running?","BigBench::Store","BigBench/Store.html#method-c-running-3F","()","<p>Returns true if a bot test has been started\n"],["running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-running_benchmarks","()",""],["running_bots_loop","BigBench::Output","BigBench/Output.html#method-c-running_bots_loop","(bots)",""],["scope","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-scope","()","<p>Returns the current scope the environment works in\n"],["scope_to_benchmark","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-scope_to_benchmark","(name)","<p>Executes the including methods in the scope of the benchmark:\n\n<pre># For the "index page" benchmark\nscope_to_benchmark ...</pre>\n"],["sd","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-sd","()",""],["setup!","BigBench::Store","BigBench/Store.html#method-c-setup-21","(url = nil, password = nil)","<p>Setup the redis storage. Default values are <code>localhost:6379</code> and\nno password. This needs to be called for …\n"],["source_root","BigBench::Executor::Executable","BigBench/Executor/Executable.html#method-c-source_root","()","<p>Templates are here\n"],["squared_deviation","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-squared_deviation","()","<p>The squared deviation or variance of the attribute\n"],["standard_deviation","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-standard_deviation","()","<p>The standard deviation or sd of the attribute\n"],["start","BigBench::Output","BigBench/Output.html#method-c-start","()",""],["start","BigBench::Store","BigBench/Store.html#method-c-start","()","<p>Start the tests for all bots by setting the running key\n"],["starting_bots_loop","BigBench::Output","BigBench/Output.html#method-c-starting_bots_loop","()",""],["statistics","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-statistics","(timebase = 1.second)","<p>Returns the default statistics for a given attribute. The following\nstatistics are available:\n\n<pre>statistics.durations.max ...</pre>\n"],["stop","BigBench::Store","BigBench/Store.html#method-c-stop","()","<p>Stops the test for all bots by unsetting the running key\n"],["sum","Array","Array.html#method-i-sum","()",""],["test","BigBench::Store","BigBench/Store.html#method-c-test","()","<p>Gets the current test from the redis\n"],["test=","BigBench::Store","BigBench/Store.html#method-c-test-3D","(test)","<p>Stores the current test receipt for all bots on the redis instance\n"],["to_milliseconds","Float","Float.html#method-i-to_milliseconds","()",""],["track","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-i-track","(object)",""],["track!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-track-21","(start, stop, http)","<p>Adds the current tracking result as a hash to the benchmark’s tracker\n"],["trackings","BigBench::PostProcessor::Environment","BigBench/PostProcessor/Environment.html#method-i-trackings","()","<p>Puts all tracking hashes into a huge array. Warning, this method call might\ntake quite long! The results …\n"],["validate_normal_distribution","Helpers","Helpers.html#method-i-validate_normal_distribution","(distribution)",""],["variance","BigBench::PostProcessor::Environment::Statistics","BigBench/PostProcessor/Environment/Statistics.html#method-i-variance","()",""],["write","BigBench::PostProcessor::Graphs::LineGraph","BigBench/PostProcessor/Graphs/LineGraph.html#method-i-write","(file)",""],["write","BigBench::PostProcessor::Graphs::PieGraph","BigBench/PostProcessor/Graphs/PieGraph.html#method-i-write","(file)",""],["write_local_trackings_to_file!","BigBench","BigBench.html#method-c-write_local_trackings_to_file-21","()","<p>Writes the locals trackings from the benchmark to a file\n"],["write_store_trackings_to_file!","BigBench","BigBench.html#method-c-write_store_trackings_to_file-21","()","<p>Gathers the trackings from the redis and writes them to a local file\n"],["write_trackings_to_store!","BigBench","BigBench.html#method-c-write_trackings_to_store-21","()","<p>Writes the trackings of a bot to the redis after he finishes the run\n"],["writing_trackings","BigBench::Output","BigBench/Output.html#method-c-writing_trackings","(count)",""],["wrote_trackings","BigBench::Output","BigBench/Output.html#method-c-wrote_trackings","(count)",""],["y","BigBench::PostProcessor::Environment::NormalDistribution","BigBench/PostProcessor/Environment/NormalDistribution.html#method-i-y","()","<p>Returns an array with the distribution values like this:\n\n<pre>[0.0, 0.1, 1.2, 4.5, 10.8, 4.5, 1.2, 0.1, 0.0]</pre>\n"],["y","BigBench::PostProcessor::Environment::PolynomialRegression","BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-y","()","<p>Returns an array with the regression values like this:\n\n<pre>[2.5, 2.6, 2.7, 2.8, 3.0, 3.2, 3.4, 3.8, 4.0, 4.9]</pre>\n"],["Gemfile","","Gemfile.html","","<p>source “rubygems.org”\n<p># Specify your gem’s dependencies in big_bench.gemspec gemspec\n"],["README","","README_rdoc.html","","<p>BigBench\n<p>BigBench is a http penetration tool. It allows you to test the performance\nof any web server …\n"],["Rakefile","","Rakefile.html","","<p>require “bundler/gem_tasks” require “rack” require “RedCloth” require\n“redcloth-formatters-rdoc” …\n"],["executor","","lib/bigbench/help/executor_txt.html","","<p>Tasks:\n\n<pre>bigbench -v # Show the version\nbigbench bot ...</pre>\n"]]}}
|
@@ -77,13 +77,9 @@
|
|
77
77
|
|
78
78
|
<li><a href="../../../BigBench/Configuration.html">BigBench::Configuration</a>
|
79
79
|
|
80
|
-
<li><a href="../../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
81
|
-
|
82
|
-
<li><a href="../../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
83
|
-
|
84
80
|
<li><a href="../../../BigBench/Executor.html">BigBench::Executor</a>
|
85
81
|
|
86
|
-
<li><a href="../../../BigBench/Executor/
|
82
|
+
<li><a href="../../../BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
87
83
|
|
88
84
|
<li><a href="../../../BigBench/Fragment.html">BigBench::Fragment</a>
|
89
85
|
|
@@ -93,6 +89,8 @@
|
|
93
89
|
|
94
90
|
<li><a href="../../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
95
91
|
|
92
|
+
<li><a href="../../../BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
93
|
+
|
96
94
|
<li><a href="../../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
97
95
|
|
98
96
|
<li><a href="../../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
@@ -123,6 +121,8 @@
|
|
123
121
|
|
124
122
|
<li><a href="../../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
125
123
|
|
124
|
+
<li><a href="../../../BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
125
|
+
|
126
126
|
<li><a href="../../../BigBench/Runner.html">BigBench::Runner</a>
|
127
127
|
|
128
128
|
<li><a href="../../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
@@ -151,31 +151,16 @@
|
|
151
151
|
|
152
152
|
<div id="documentation" class="description">
|
153
153
|
|
154
|
-
<p>
|
155
|
-
|
156
|
-
<pre># Local Testing
|
157
|
-
bigbench run local PATH_TO_TEST # Runs a test from the local machine. No redis needed.
|
158
|
-
|
159
|
-
# Remote Testing
|
160
|
-
bigbench run bots PATH_TO_TEST [REDIS_URL_WITH_PORT REDIS_PASSWORD] # Deploys and starts the test on all bots
|
161
|
-
bigbench start bot [REDIS_URL_WITH_PORT REDIS_PASSWORD] # Starts a bot on a remote machine
|
162
|
-
|
163
|
-
# Reseting
|
164
|
-
bigbench reset all # Resets everything
|
165
|
-
|
166
|
-
# Post Processors
|
167
|
-
bigbench run postprocessors PATH_TO_TEST # Runs all post processors of the test without running the test itself
|
168
|
-
bigbench run postprocessor PATH_TO_TEST POSTPROCESSOR # Runs the specified post processor on the output file
|
169
|
-
|
170
|
-
# Help
|
171
|
-
bigbench --help || show help # Displays this help</pre>
|
172
|
-
|
173
|
-
<p>Options:</p>
|
154
|
+
<p>Tasks:</p>
|
174
155
|
|
175
|
-
<pre
|
176
|
-
|
177
|
-
|
178
|
-
|
156
|
+
<pre>bigbench -v # Show the version
|
157
|
+
bigbench bot [REDIS_URL_WITH_PORT] [REDIS_PASSWORD] # Start a bot on the current machine
|
158
|
+
bigbench bots TEST_FILE [REDIS_URL_WITH_PORT] [REDIS_PASSWORD] # Run the TEST_FILE on all bots
|
159
|
+
bigbench generate TEST_FILE # Generates a simple test file to customize further
|
160
|
+
bigbench help [TASK] # Describe available tasks or one specific task
|
161
|
+
bigbench local TEST_FILE # Run the TEST_FILE on the local machine
|
162
|
+
bigbench process TEST_FILE [POST_PROCESSOR] # Run all post processors of the testfile or the single POST_PROCESSOR
|
163
|
+
bigbench reset [REDIS_URL_WITH_PORT] [REDIS_PASSWORD] # Reset everything including the redis storage</pre>
|
179
164
|
|
180
165
|
</div>
|
181
166
|
|
data/doc/table_of_contents.html
CHANGED
@@ -38,27 +38,20 @@
|
|
38
38
|
<li><a href="README_rdoc.html#label-Further+Reading">Further Reading</a>
|
39
39
|
<li><a href="README_rdoc.html#label-Requirements">Requirements</a>
|
40
40
|
<li><a href="README_rdoc.html#label-Test+Receipts">Test Receipts</a>
|
41
|
+
<li><a href="README_rdoc.html#label-Generator">Generator</a>
|
41
42
|
<li><a href="README_rdoc.html#label-Single+Host+vs.+Multiple+Hosts+Testing">Single Host vs. Multiple Hosts Testing</a>
|
42
43
|
<li><a href="README_rdoc.html#label-Single+Host">Single Host</a>
|
43
44
|
<li><a href="README_rdoc.html#label-Multiple+Hosts+with+Bots">Multiple Hosts with Bots</a>
|
44
45
|
<li><a href="README_rdoc.html#label-Output">Output</a>
|
45
46
|
<li><a href="README_rdoc.html#label-Post+Processors">Post Processors</a>
|
46
|
-
<li><a href="README_rdoc.html#label-Post+Processor+Environment">Post Processor Environment</a>
|
47
|
-
<li><a href="README_rdoc.html#label-
|
48
|
-
<li><a href="README_rdoc.html#label-trackings">trackings</a>
|
49
|
-
<li><a href="README_rdoc.html#label-statistics">statistics</a>
|
50
|
-
<li><a href="README_rdoc.html#label-cluster">cluster</a>
|
51
|
-
<li><a href="README_rdoc.html#label-appearing">appearing</a>
|
52
|
-
<li><a href="README_rdoc.html#label-polynomial_regression">polynomial_regression</a>
|
53
|
-
<li><a href="README_rdoc.html#label-normal_distribution">normal_distribution</a>
|
54
|
-
<li><a href="README_rdoc.html#label-scope_to_benchmark">scope_to_benchmark</a>
|
55
|
-
<li><a href="README_rdoc.html#label-each_benchmark">each_benchmark</a>
|
47
|
+
<li><a href="README_rdoc.html#label-Post+Processor+Environment+API">Post Processor Environment API</a>
|
48
|
+
<li><a href="README_rdoc.html#label-Included+Post+Processors">Included Post Processors</a>
|
56
49
|
<li><a href="README_rdoc.html#label-Running+Post+Processors+separately">Running Post Processors separately</a>
|
57
|
-
<li><a href="README_rdoc.html#label-Statistics">Statistics</a>
|
58
50
|
<li><a href="README_rdoc.html#label-Load+Comparison">Load Comparison</a>
|
59
51
|
<li><a href="README_rdoc.html#label-Test+Configuration%3A+Apache%27s+JMeter+vs.+BigBench">Test Configuration: Apache’s JMeter vs. BigBench</a>
|
60
52
|
<li><a href="README_rdoc.html#label-Test+Results">Test Results</a>
|
61
53
|
<li><a href="README_rdoc.html#label-Version+History">Version History</a>
|
54
|
+
<li><a href="README_rdoc.html#label-0.5">0.5</a>
|
62
55
|
<li><a href="README_rdoc.html#label-0.4">0.4</a>
|
63
56
|
<li><a href="README_rdoc.html#label-0.3">0.3</a>
|
64
57
|
<li><a href="README_rdoc.html#label-0.2">0.2</a>
|
@@ -93,18 +86,12 @@
|
|
93
86
|
</li>
|
94
87
|
<li class="module">
|
95
88
|
<a href="BigBench/Configuration.html">BigBench::Configuration</a>
|
96
|
-
</li>
|
97
|
-
<li class="class">
|
98
|
-
<a href="BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
99
|
-
</li>
|
100
|
-
<li class="class">
|
101
|
-
<a href="BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
102
89
|
</li>
|
103
90
|
<li class="module">
|
104
91
|
<a href="BigBench/Executor.html">BigBench::Executor</a>
|
105
92
|
</li>
|
106
93
|
<li class="class">
|
107
|
-
<a href="BigBench/Executor/
|
94
|
+
<a href="BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
108
95
|
</li>
|
109
96
|
<li class="module">
|
110
97
|
<a href="BigBench/Fragment.html">BigBench::Fragment</a>
|
@@ -122,6 +109,9 @@
|
|
122
109
|
<ul class="initially-hidden">
|
123
110
|
<li><a href="BigBench/PostProcessor.html#label-Available+Methods+in+Processors">Available Methods in Processors</a>
|
124
111
|
</ul>
|
112
|
+
</li>
|
113
|
+
<li class="module">
|
114
|
+
<a href="BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
125
115
|
</li>
|
126
116
|
<li class="module">
|
127
117
|
<a href="BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
@@ -167,6 +157,9 @@
|
|
167
157
|
</li>
|
168
158
|
<li class="module">
|
169
159
|
<a href="BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
160
|
+
</li>
|
161
|
+
<li class="module">
|
162
|
+
<a href="BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
170
163
|
</li>
|
171
164
|
<li class="module">
|
172
165
|
<a href="BigBench/Runner.html">BigBench::Runner</a>
|
@@ -208,14 +201,12 @@
|
|
208
201
|
|
209
202
|
<li class="method"><a href="BigBench/Benchmark.html#method-c-add">::add — BigBench::Benchmark</a>
|
210
203
|
|
211
|
-
<li class="method"><a href="BigBench/Configuration/Config.html#method-c-add_option">::add_option — BigBench::Configuration::Config</a>
|
212
|
-
|
213
204
|
<li class="method"><a href="BigBench/Store.html#method-c-add_tracking">::add_tracking — BigBench::Store</a>
|
214
205
|
|
215
|
-
<li class="method"><a href="BigBench/Benchmark.html#method-c-all">::all — BigBench::Benchmark</a>
|
216
|
-
|
217
206
|
<li class="method"><a href="BigBench/PostProcessor.html#method-c-all">::all — BigBench::PostProcessor</a>
|
218
207
|
|
208
|
+
<li class="method"><a href="BigBench/Benchmark.html#method-c-all">::all — BigBench::Benchmark</a>
|
209
|
+
|
219
210
|
<li class="method"><a href="BigBench/PostProcessor/Environment/Cluster.html#method-c-attr_multi_dimension_reader">::attr_multi_dimension_reader — BigBench::PostProcessor::Environment::Cluster</a>
|
220
211
|
|
221
212
|
<li class="method"><a href="BigBench.html#method-c-benchmark">::benchmark — BigBench</a>
|
@@ -232,17 +223,13 @@
|
|
232
223
|
|
233
224
|
<li class="method"><a href="BigBench/Store.html#method-c-bots">::bots — BigBench::Store</a>
|
234
225
|
|
235
|
-
<li class="method"><a href="BigBench.html#method-c-check_config-21">::check_config! — BigBench</a>
|
236
|
-
|
237
226
|
<li class="method"><a href="BigBench/Bot.html#method-c-check_test-21">::check_test! — BigBench::Bot</a>
|
238
227
|
|
239
228
|
<li class="method"><a href="BigBench.html#method-c-config">::config — BigBench</a>
|
240
229
|
|
241
230
|
<li class="method"><a href="BigBench/Configuration.html#method-c-config">::config — BigBench::Configuration</a>
|
242
231
|
|
243
|
-
<li class="method"><a href="BigBench.html#method-c-configure
|
244
|
-
|
245
|
-
<li class="method"><a href="BigBench/Configuration.html#method-c-configure-3D">::configure= — BigBench::Configuration</a>
|
232
|
+
<li class="method"><a href="BigBench.html#method-c-configure">::configure — BigBench</a>
|
246
233
|
|
247
234
|
<li class="method"><a href="BigBench/Store.html#method-c-count_trackings">::count_trackings — BigBench::Store</a>
|
248
235
|
|
@@ -268,38 +255,36 @@
|
|
268
255
|
|
269
256
|
<li class="method"><a href="BigBench/Benchmark.html#method-c-max_duration">::max_duration — BigBench::Benchmark</a>
|
270
257
|
|
271
|
-
<li class="method"><a href="
|
272
|
-
|
273
|
-
<li class="method"><a href="BigBench/PostProcessor/Environment/NormalDistribution.html#method-c-new">::new — BigBench::PostProcessor::Environment::NormalDistribution</a>
|
274
|
-
|
275
|
-
<li class="method"><a href="BigBench/PostProcessor/Environment/Cluster.html#method-c-new">::new — BigBench::PostProcessor::Environment::Cluster</a>
|
276
|
-
|
277
|
-
<li class="method"><a href="BigBench/PostProcessor/Environment/Appearings.html#method-c-new">::new — BigBench::PostProcessor::Environment::Appearings</a>
|
278
|
-
|
279
|
-
<li class="method"><a href="BigBench/PostProcessor/Environment/PolynomialRegression.html#method-c-new">::new — BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
258
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/AttributeCluster.html#method-c-new">::new — BigBench::PostProcessor::Environment::AttributeCluster</a>
|
280
259
|
|
281
|
-
<li class="method"><a href="BigBench/
|
260
|
+
<li class="method"><a href="BigBench/Tracker/Tracker.html#method-c-new">::new — BigBench::Tracker::Tracker</a>
|
282
261
|
|
283
262
|
<li class="method"><a href="BigBench/Benchmark/Looper.html#method-c-new">::new — BigBench::Benchmark::Looper</a>
|
284
263
|
|
285
|
-
<li class="method"><a href="BigBench/
|
264
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/Statistics.html#method-c-new">::new — BigBench::PostProcessor::Environment::Statistics</a>
|
286
265
|
|
287
|
-
<li class="method"><a href="BigBench/
|
266
|
+
<li class="method"><a href="BigBench/Fragment/Fragment.html#method-c-new">::new — BigBench::Fragment::Fragment</a>
|
288
267
|
|
289
268
|
<li class="method"><a href="BigBench/PostProcessor/Graphs/LineGraph.html#method-c-new">::new — BigBench::PostProcessor::Graphs::LineGraph</a>
|
290
269
|
|
291
|
-
<li class="method"><a href="BigBench/
|
270
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/BenchmarkNotFound.html#method-c-new">::new — BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
292
271
|
|
293
|
-
<li class="method"><a href="BigBench/
|
272
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/NormalDistribution.html#method-c-new">::new — BigBench::PostProcessor::Environment::NormalDistribution</a>
|
273
|
+
|
274
|
+
<li class="method"><a href="BigBench/PostProcessor/Graphs/PieGraph.html#method-c-new">::new — BigBench::PostProcessor::Graphs::PieGraph</a>
|
294
275
|
|
295
276
|
<li class="method"><a href="BigBench/PostProcessor/Processor.html#method-c-new">::new — BigBench::PostProcessor::Processor</a>
|
296
277
|
|
297
|
-
<li class="method"><a href="BigBench/PostProcessor/
|
278
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/Cluster.html#method-c-new">::new — BigBench::PostProcessor::Environment::Cluster</a>
|
298
279
|
|
299
|
-
<li class="method"><a href="BigBench/PostProcessor/Environment/
|
280
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/Appearings.html#method-c-new">::new — BigBench::PostProcessor::Environment::Appearings</a>
|
281
|
+
|
282
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/PolynomialRegression.html#method-c-new">::new — BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
300
283
|
|
301
284
|
<li class="method"><a href="BigBench/Benchmark/Benchmark.html#method-c-new">::new — BigBench::Benchmark::Benchmark</a>
|
302
285
|
|
286
|
+
<li class="method"><a href="EventMachineLoop.html#method-c-new">::new — EventMachineLoop</a>
|
287
|
+
|
303
288
|
<li class="method"><a href="BigBench/Fragment.html#method-c-parse">::parse — BigBench::Fragment</a>
|
304
289
|
|
305
290
|
<li class="method"><a href="BigBench/Store.html#method-c-pop_tracking">::pop_tracking — BigBench::Store</a>
|
@@ -314,31 +299,31 @@
|
|
314
299
|
|
315
300
|
<li class="method"><a href="BigBench/Output.html#method-c-reset">::reset — BigBench::Output</a>
|
316
301
|
|
317
|
-
<li class="method"><a href="BigBench/PostProcessor.html#method-c-reset-21">::reset! — BigBench::PostProcessor</a>
|
318
|
-
|
319
|
-
<li class="method"><a href="BigBench/Fragment.html#method-c-reset-21">::reset! — BigBench::Fragment</a>
|
302
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment.html#method-c-reset-21">::reset! — BigBench::PostProcessor::Environment</a>
|
320
303
|
|
321
|
-
<li class="method"><a href="BigBench/
|
304
|
+
<li class="method"><a href="BigBench/PostProcessor.html#method-c-reset-21">::reset! — BigBench::PostProcessor</a>
|
322
305
|
|
323
306
|
<li class="method"><a href="BigBench/Benchmark.html#method-c-reset-21">::reset! — BigBench::Benchmark</a>
|
324
307
|
|
325
|
-
<li class="method"><a href="BigBench/
|
308
|
+
<li class="method"><a href="BigBench/Store.html#method-c-reset-21">::reset! — BigBench::Store</a>
|
326
309
|
|
327
310
|
<li class="method"><a href="BigBench/Configuration.html#method-c-reset-21">::reset! — BigBench::Configuration</a>
|
328
311
|
|
329
|
-
<li class="method"><a href="BigBench/
|
312
|
+
<li class="method"><a href="BigBench/Fragment.html#method-c-reset-21">::reset! — BigBench::Fragment</a>
|
330
313
|
|
331
|
-
<li class="method"><a href="BigBench/PostProcessor.html#method-c-run-21">::run! — BigBench::PostProcessor</a>
|
314
|
+
<li class="method"><a href="BigBench/PostProcessor/Statistics.html#method-c-run-21">::run! — BigBench::PostProcessor::Statistics</a>
|
315
|
+
|
316
|
+
<li class="method"><a href="BigBench/Runner.html#method-c-run-21">::run! — BigBench::Runner</a>
|
332
317
|
|
333
318
|
<li class="method"><a href="BigBench/PostProcessor/Graphs.html#method-c-run-21">::run! — BigBench::PostProcessor::Graphs</a>
|
334
319
|
|
335
|
-
<li class="method"><a href="BigBench/PostProcessor
|
320
|
+
<li class="method"><a href="BigBench/PostProcessor.html#method-c-run-21">::run! — BigBench::PostProcessor</a>
|
336
321
|
|
337
|
-
<li class="method"><a href="BigBench/
|
322
|
+
<li class="method"><a href="BigBench/PostProcessor/Test.html#method-c-run-21">::run! — BigBench::PostProcessor::Test</a>
|
338
323
|
|
339
324
|
<li class="method"><a href="BigBench.html#method-c-run-21">::run! — BigBench</a>
|
340
325
|
|
341
|
-
<li class="method"><a href="BigBench/PostProcessor/
|
326
|
+
<li class="method"><a href="BigBench/PostProcessor/TestPretty.html#method-c-run-21">::run! — BigBench::PostProcessor::TestPretty</a>
|
342
327
|
|
343
328
|
<li class="method"><a href="BigBench.html#method-c-run_post_processors-21">::run_post_processors! — BigBench</a>
|
344
329
|
|
@@ -350,10 +335,12 @@
|
|
350
335
|
|
351
336
|
<li class="method"><a href="BigBench/Store.html#method-c-setup-21">::setup! — BigBench::Store</a>
|
352
337
|
|
353
|
-
<li class="method"><a href="BigBench/
|
338
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-c-source_root">::source_root — BigBench::Executor::Executable</a>
|
354
339
|
|
355
340
|
<li class="method"><a href="BigBench/Output.html#method-c-start">::start — BigBench::Output</a>
|
356
341
|
|
342
|
+
<li class="method"><a href="BigBench/Store.html#method-c-start">::start — BigBench::Store</a>
|
343
|
+
|
357
344
|
<li class="method"><a href="BigBench/Output.html#method-c-starting_bots_loop">::starting_bots_loop — BigBench::Output</a>
|
358
345
|
|
359
346
|
<li class="method"><a href="BigBench/Store.html#method-c-stop">::stop — BigBench::Store</a>
|
@@ -386,8 +373,14 @@
|
|
386
373
|
|
387
374
|
<li class="method"><a href="Array.html#method-i-average">#average — Array</a>
|
388
375
|
|
376
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-i-bot">#bot — BigBench::Executor::Executable</a>
|
377
|
+
|
378
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-i-bots">#bots — BigBench::Executor::Executable</a>
|
379
|
+
|
389
380
|
<li class="method"><a href="BigBench/PostProcessor/Environment.html#method-i-cluster">#cluster — BigBench::PostProcessor::Environment</a>
|
390
381
|
|
382
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-i-default">#default — BigBench::Executor::Executable</a>
|
383
|
+
|
391
384
|
<li class="method"><a href="BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-derivation">#derivation — BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
392
385
|
|
393
386
|
<li class="method"><a href="BigBench/PostProcessor/Environment.html#method-i-each_benchmark">#each_benchmark — BigBench::PostProcessor::Environment</a>
|
@@ -396,23 +389,23 @@
|
|
396
389
|
|
397
390
|
<li class="method"><a href="BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-formula">#formula — BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
398
391
|
|
392
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-i-generate">#generate — BigBench::Executor::Executable</a>
|
393
|
+
|
399
394
|
<li class="method"><a href="BigBench/Benchmark/Benchmark.html#method-i-is_running-3F">#is_running? — BigBench::Benchmark::Benchmark</a>
|
400
395
|
|
396
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-i-local">#local — BigBench::Executor::Executable</a>
|
397
|
+
|
401
398
|
<li class="method"><a href="BigBench/Benchmark/Looper.html#method-i-loop-21">#loop! — BigBench::Benchmark::Looper</a>
|
402
399
|
|
403
400
|
<li class="method"><a href="BigBench/PostProcessor/Environment/Statistics.html#method-i-max">#max — BigBench::PostProcessor::Environment::Statistics</a>
|
404
401
|
|
405
402
|
<li class="method"><a href="BigBench/PostProcessor/Environment/Statistics.html#method-i-mean">#mean — BigBench::PostProcessor::Environment::Statistics</a>
|
406
403
|
|
407
|
-
<li class="method"><a href="BigBench/
|
404
|
+
<li class="method"><a href="BigBench/Runner/NoBenchmarksDefined.html#method-i-message">#message — BigBench::Runner::NoBenchmarksDefined</a>
|
408
405
|
|
409
406
|
<li class="method"><a href="BigBench/PostProcessor/InvalidProcessor.html#method-i-message">#message — BigBench::PostProcessor::InvalidProcessor</a>
|
410
407
|
|
411
|
-
<li class="method"><a href="BigBench/
|
412
|
-
|
413
|
-
<li class="method"><a href="BigBench/Runner/NoBenchmarksDefined.html#method-i-message">#message — BigBench::Runner::NoBenchmarksDefined</a>
|
414
|
-
|
415
|
-
<li class="method"><a href="BigBench/Configuration/InvalidOptions.html#method-i-message">#message — BigBench::Configuration::InvalidOptions</a>
|
408
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/BenchmarkNotFound.html#method-i-message">#message — BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
416
409
|
|
417
410
|
<li class="method"><a href="BigBench/PostProcessor/Environment/Statistics.html#method-i-min">#min — BigBench::PostProcessor::Environment::Statistics</a>
|
418
411
|
|
@@ -420,20 +413,24 @@
|
|
420
413
|
|
421
414
|
<li class="method"><a href="BigBench/PostProcessor/Environment.html#method-i-normal_distribution">#normal_distribution — BigBench::PostProcessor::Environment</a>
|
422
415
|
|
423
|
-
<li class="method"><a href="BigBench/PostProcessor/Graphs/LineGraph.html#method-i-open">#open — BigBench::PostProcessor::Graphs::LineGraph</a>
|
424
|
-
|
425
416
|
<li class="method"><a href="BigBench/PostProcessor/Graphs/PieGraph.html#method-i-open">#open — BigBench::PostProcessor::Graphs::PieGraph</a>
|
426
417
|
|
418
|
+
<li class="method"><a href="BigBench/PostProcessor/Graphs/LineGraph.html#method-i-open">#open — BigBench::PostProcessor::Graphs::LineGraph</a>
|
419
|
+
|
427
420
|
<li class="method"><a href="BigBench/PostProcessor/Environment.html#method-i-polynomial_regression">#polynomial_regression — BigBench::PostProcessor::Environment</a>
|
428
421
|
|
422
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-i-process">#process — BigBench::Executor::Executable</a>
|
423
|
+
|
429
424
|
<li class="method"><a href="Object.html#method-i-protected-21">#protected! — Object</a>
|
430
425
|
|
431
426
|
<li class="method"><a href="EventMachineLoop.html#method-i-request-21">#request! — EventMachineLoop</a>
|
432
427
|
|
433
|
-
<li class="method"><a href="BigBench/
|
428
|
+
<li class="method"><a href="BigBench/Executor/Executable.html#method-i-reset">#reset — BigBench::Executor::Executable</a>
|
434
429
|
|
435
430
|
<li class="method"><a href="BigBench/Benchmark/Benchmark.html#method-i-run-21">#run! — BigBench::Benchmark::Benchmark</a>
|
436
431
|
|
432
|
+
<li class="method"><a href="BigBench/PostProcessor/Processor.html#method-i-run-21">#run! — BigBench::PostProcessor::Processor</a>
|
433
|
+
|
437
434
|
<li class="method"><a href="BigBench/Fragment/Fragment.html#method-i-run-21">#run! — BigBench::Fragment::Fragment</a>
|
438
435
|
|
439
436
|
<li class="method"><a href="BigBench/PostProcessor/Environment.html#method-i-scope">#scope — BigBench::PostProcessor::Environment</a>
|
@@ -458,20 +455,18 @@
|
|
458
455
|
|
459
456
|
<li class="method"><a href="BigBench/PostProcessor/Environment.html#method-i-trackings">#trackings — BigBench::PostProcessor::Environment</a>
|
460
457
|
|
461
|
-
<li class="method"><a href="BigBench/Configuration/Config.html#method-i-valid-3F">#valid? — BigBench::Configuration::Config</a>
|
462
|
-
|
463
458
|
<li class="method"><a href="Helpers.html#method-i-validate_normal_distribution">#validate_normal_distribution — Helpers</a>
|
464
459
|
|
465
460
|
<li class="method"><a href="BigBench/PostProcessor/Environment/Statistics.html#method-i-variance">#variance — BigBench::PostProcessor::Environment::Statistics</a>
|
466
461
|
|
467
|
-
<li class="method"><a href="BigBench/PostProcessor/Graphs/LineGraph.html#method-i-write">#write — BigBench::PostProcessor::Graphs::LineGraph</a>
|
468
|
-
|
469
462
|
<li class="method"><a href="BigBench/PostProcessor/Graphs/PieGraph.html#method-i-write">#write — BigBench::PostProcessor::Graphs::PieGraph</a>
|
470
463
|
|
471
|
-
<li class="method"><a href="BigBench/PostProcessor/
|
464
|
+
<li class="method"><a href="BigBench/PostProcessor/Graphs/LineGraph.html#method-i-write">#write — BigBench::PostProcessor::Graphs::LineGraph</a>
|
472
465
|
|
473
466
|
<li class="method"><a href="BigBench/PostProcessor/Environment/PolynomialRegression.html#method-i-y">#y — BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
474
467
|
|
468
|
+
<li class="method"><a href="BigBench/PostProcessor/Environment/NormalDistribution.html#method-i-y">#y — BigBench::PostProcessor::Environment::NormalDistribution</a>
|
469
|
+
|
475
470
|
</ul>
|
476
471
|
|
477
472
|
|
data/lib/bigbench.rb
CHANGED
data/lib/bigbench/benchmark.rb
CHANGED
@@ -35,9 +35,9 @@ module BigBench
|
|
35
35
|
# Initizalizes a new benchmark
|
36
36
|
def initialize(name, url, options, &block)
|
37
37
|
@name, @uri, @tracker, @is_running, @runs = name, URI(url), Tracker::Tracker.new, false, 0
|
38
|
-
@users
|
39
|
-
@duration
|
40
|
-
@fragments
|
38
|
+
@users = options[:users] || BigBench.config.users
|
39
|
+
@duration = options[:duration] || BigBench.config.duration
|
40
|
+
@fragments = BigBench::Fragment.parse(self, &block)
|
41
41
|
end
|
42
42
|
|
43
43
|
# Execute this benchmark
|
@@ -2,12 +2,12 @@ module BigBench
|
|
2
2
|
|
3
3
|
# The configuration is configured in the test reciepts and looks like this:
|
4
4
|
#
|
5
|
-
# BigBench.configure
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
5
|
+
# BigBench.configure do |config|
|
6
|
+
# config.duration = 10.seconds,
|
7
|
+
# config.output = "test.ljson",
|
8
|
+
# config.users = 20,
|
9
|
+
# config.basic_auth = ['username', 'secret']
|
10
|
+
# end
|
11
11
|
#
|
12
12
|
# Single values can be set and retrieved like this:
|
13
13
|
#
|
@@ -27,75 +27,42 @@ module BigBench
|
|
27
27
|
#
|
28
28
|
module Configuration
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
attr_accessor :bot_checks_every
|
38
|
-
attr_accessor :basic_auth
|
39
|
-
|
40
|
-
VALIDATE_OPTIONS = [:duration, :output, :users]
|
41
|
-
|
42
|
-
def initialize
|
43
|
-
@users, @duration, @mode, @bot_checks_every = 1, 1.second, :local, 1.minute
|
44
|
-
end
|
45
|
-
|
46
|
-
def self.add_option(name)
|
47
|
-
attr_accessor name unless self.respond_to?(name)
|
48
|
-
end
|
49
|
-
|
50
|
-
def valid?
|
51
|
-
VALIDATE_OPTIONS.each{ |option| return false if send(option).nil? }
|
52
|
-
true
|
53
|
-
end
|
54
|
-
end
|
30
|
+
DEFAULTS = {
|
31
|
+
:duration => 1.second,
|
32
|
+
:output => "result.ljson",
|
33
|
+
:users => 1,
|
34
|
+
:mode => :local,
|
35
|
+
:bot_checks_every => 1.minute
|
36
|
+
}
|
55
37
|
|
56
|
-
#
|
57
|
-
|
58
|
-
|
59
|
-
"At least: #{Config::VALIDATE_OPTIONS.join(', ')} are required"
|
60
|
-
end
|
38
|
+
# Resets the config object
|
39
|
+
def self.reset!
|
40
|
+
@@config = nil
|
61
41
|
end
|
42
|
+
self.reset!
|
62
43
|
|
63
|
-
@config = Config.new
|
64
44
|
|
65
|
-
#
|
66
|
-
# they are added to the config object
|
67
|
-
def self.configure=(config)
|
68
|
-
raise "Config must be a Hash" unless config.is_a?(Hash)
|
69
|
-
config.each { |option, value|
|
70
|
-
@config.class.add_option(option)
|
71
|
-
@config.send "#{option}=", value
|
72
|
-
}
|
73
|
-
end
|
74
|
-
|
75
|
-
# Returns the current config object
|
45
|
+
# Returns tor creates the config object
|
76
46
|
def self.config
|
77
|
-
|
78
|
-
end
|
79
|
-
|
80
|
-
# Resets the config object
|
81
|
-
def self.reset!
|
82
|
-
@config = Config.new
|
47
|
+
@@config ||= OpenStruct.new(DEFAULTS)
|
83
48
|
end
|
84
49
|
|
85
50
|
end
|
86
51
|
|
87
52
|
# Configure the benchmark by supplying a hash of options like this:
|
88
53
|
#
|
89
|
-
# BigBench.configure
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
54
|
+
# BigBench.configure do |config|
|
55
|
+
# config.duration = 10.seconds,
|
56
|
+
# config.output = "test.ljson",
|
57
|
+
# config.users = 20,
|
58
|
+
# config.basic_auth = ['username', 'secret']
|
59
|
+
# end
|
95
60
|
#
|
96
61
|
# Those values can then be set and retreived with <tt>BigBench.config.duration</tt>, ...
|
97
|
-
def self.configure
|
98
|
-
|
62
|
+
def self.configure
|
63
|
+
raise "No block to configure given" unless block_given?
|
64
|
+
yield(Configuration.config)
|
65
|
+
Configuration.config
|
99
66
|
end
|
100
67
|
|
101
68
|
# Set and retreive the config values like this:
|
@@ -107,10 +74,4 @@ module BigBench
|
|
107
74
|
Configuration.config
|
108
75
|
end
|
109
76
|
|
110
|
-
# Checks if all necessary config options are set and raises an <tt>InvalidOptions</tt> exception if not
|
111
|
-
def self.check_config!
|
112
|
-
raise Configuration::InvalidOptions.new unless config.valid?
|
113
|
-
true
|
114
|
-
end
|
115
|
-
|
116
77
|
end
|