Skip to content

Instantly share code, notes, and snippets.

@rdp
Created June 21, 2010 19:04
Show Gist options
  • Select an option

  • Save rdp/447315 to your computer and use it in GitHub Desktop.

Select an option

Save rdp/447315 to your computer and use it in GitHub Desktop.
sqlite rails bench (windows, 1.9)
http://github.com/acangiano/ruby-benchmark-suite
C:\dev\ruby\old\ruby-benchmark-suite\benchmarks\rails>ruby -r ..\..\utils\fake_bench.rb bm_substruct_request_root.rb
database appears initialized
Warming up once
GET /
10387 ms, 1 requests, 0 req/sec
Benchmarking 1x
.
23 ms, 1 requests, 43 req/sec
90
Warming up once
GET /
30 ms, 1 requests, 33 req/sec
Benchmarking 90x
.......... .......... .......... .......... .......... ..........
.......... .......... ..........
2934 ms, 90 requests, 30 req/sec
2.97096800804138
#<Benchmark::Tms:0x7110100 @label="", @real=2.97497200965881, @cstime=0.0, @cutime=0.0, @stime=0.561999999999998, @utime=1.529, @total=2.091>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment