This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
rorbench /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Jun 23 06:52:24 -0700 2008 | [sv] |
| |
CHANGES-5.0.3 | Fri Jun 06 11:54:51 -0700 2008 | [sv] |
| |
MAINTAINERS | Fri Jun 06 11:54:51 -0700 2008 | [sv] |
| |
MIT-LICENSE | Fri Jun 06 11:54:51 -0700 2008 | [sv] |
| |
README | Fri Jun 06 11:54:51 -0700 2008 | [sv] |
| |
README.SIDEBARS | Fri Jun 06 11:54:51 -0700 2008 | [sv] |
| |
README.benchmarking | Sat Aug 23 04:17:09 -0700 2008 | [sv] |
| |
Rakefile | Fri Jun 06 11:54:51 -0700 2008 | [sv] |
| |
TODO.MULTIUSERS | Fri Jun 06 11:54:51 -0700 2008 | [sv] |
| |
app/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
bin/ | Tue Aug 19 10:45:50 -0700 2008 | [sv] |
| |
config/ | Mon Aug 11 08:35:56 -0700 2008 | [sv] |
| |
db/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
doc/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
installer/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
lang/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
lib/ | Tue Aug 19 15:36:59 -0700 2008 | [sv] |
| |
mongrel.config | Tue Jun 10 02:20:52 -0700 2008 | [sv] |
| |
public/ | Mon Aug 11 08:40:06 -0700 2008 | [sv] |
| |
script/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
spec/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
test/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
themes/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
| |
vendor/ | Thu Jun 26 11:26:19 -0700 2008 | [sv] |
README.benchmarking
= Prepearing =
* install httperf,gnuplot,imagemagick
* install mime-types (for reports uploading)
= Running =
You can run benchmark against any ruby on rails server, i.e. mongrel, webrick or both behind nginx =)
Running consists of several steps:
# Launching rails server.
* with embedded rake command `rake bench:start_webrick[path_to_ruby_impl]`
* with (j)ruby `script/server start -p 8000`
* `script/process/spawner -p 8000 -i 1`
* any other way ( by default you shoud run it on `localhost:8000`. `host` can be changed by passing hostname ot ip
to rake: `rake bench["rubyforge.org"]
# Run benchmark.
Type `rake bench[host]`. `HOST` is optional parameter(`localhost` by default). You should see some httperf output
for some time(we doing 5000 request and several runs). All obtained data by default will be in current dir in file
`bench.tsv`
# View benchmarking results.
* in plane text format
* convert to postscript `bin/bench2graph bench.tsv ruby1.8-bench.ps ruby1.8`. First argument: results file, second:
name of postscript output file, third: title of output graph.
* convert to jpeg `bin/tsv2jpeg bench.tsv`
# Upload benchmark results.
`rake bench:report`
= Details =
You can view all benchmarking tasks with `rake -T bench`




