sethvincent/localwiki_stats.rb — pull request #5 by bfaloona (2013-01-03 01:18:29+00:00)
Title: Thread per request

Overkill perhaps, but who likes to wait? :)

$ git checkout master
$ time bundle exec ruby localwiki_stats.rb
...
real	5m29.754s
user	0m7.488s
sys	0m0.858s

$ git checkout threaded
$ time bundle exec ruby localwiki_stats.rb
...
real	1m23.816s
user	0m7.311s
sys	0m0.824s