Class Bench
In: lib/analyzer_tools/bench.rb
Parent: Object

Bench measures load time for a particular page. You can run it multi-threaded to test web server performance, or single threaded to test the performance of a single page.

Methods

do_request   new   run   time   time_request  

Public Class methods

Creates a new Bench instance that will requests fetches of uri using thread concurrent threads.

Public Instance methods

Performs a request.

Starts the benchmark. Returns an Array of request times in seconds.

Returns the amount of time taken to execute the given block.

Returns the time taken to perform a request.

[Validate]