unicorn.git  about / heads / tags
Rack HTTP server for Unix and fast clients
blob 906f74c55ba0bbcebf9e2be307bd93b483cf4b1d 259 bytes (raw)
$ git show v0.0.0:test/benchmark/simple.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
#
# Simple benchmark to compare Mongrel performance against
# other webservers supported by Rack.
#

require File.dirname(__FILE__) + '/utils'

libs = %w(current gem WEBrick EMongrel Thin)
libs = ARGV if ARGV.any?

benchmark "print", libs, 1000, [1, 10, 100]

git clone https://yhbt.net/unicorn.git