summaryrefslogtreecommitdiff
path: root/benchmark/http_simple.rb
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-03-04 09:58:31 -0800
committerRyan Dahl <ry@tinyclouds.org>2010-03-04 10:02:41 -0800
commit409020a67d3388e4eda90af546e0fbe25b0adec3 (patch)
tree8dfff234de578e1985331f30332623cd9daabfde /benchmark/http_simple.rb
parentd5ee777af2b6a89ab866c74171f6059c85079f88 (diff)
downloadnode-new-409020a67d3388e4eda90af546e0fbe25b0adec3.tar.gz
Use kqueue on macintosh
Diffstat (limited to 'benchmark/http_simple.rb')
-rw-r--r--benchmark/http_simple.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/benchmark/http_simple.rb b/benchmark/http_simple.rb
index ee33f57f1d..d1176e5abe 100644
--- a/benchmark/http_simple.rb
+++ b/benchmark/http_simple.rb
@@ -86,10 +86,12 @@ end
if $0 == __FILE__
#require DIR + '/../lib/ebb'
require 'rubygems'
- require 'rack'
- require 'thin'
- require 'ebb'
+# require 'rack'
# Rack::Handler::Mongrel.run(SimpleApp.new, :Port => 8000)
+
+ require 'thin'
Thin::Server.start("0.0.0.0", 8000, SimpleApp.new)
+
+# require 'ebb'
# Ebb::start_server(SimpleApp.new, :port => 8000)
end