diff --git a/benchmarks/run b/benchmarks/run index db6f8fb2..defc2f65 100755 --- a/benchmarks/run +++ b/benchmarks/run @@ -18,7 +18,7 @@ bm(){ node benchmarks/express/$file & ;; thin) - thin -R benchmarks/thin/simple.ru -p 3000 start & + thin -R benchmarks/thin/$file -p 3000 start & ;; esac pid=$! @@ -32,4 +32,5 @@ log ab $ABFLAGS $ADDR bm express simple.js bm express static.js bm thin simple.ru -bm thin simple.sinatra.ru \ No newline at end of file +bm thin simple.sinatra.ru +bm thin static.sinatra.ru \ No newline at end of file diff --git a/benchmarks/thin/static.sinatra.ru b/benchmarks/thin/static.sinatra.ru new file mode 100644 index 00000000..ca18549a --- /dev/null +++ b/benchmarks/thin/static.sinatra.ru @@ -0,0 +1,9 @@ + +require 'rubygems' +require 'sinatra' + +get '/' do + send_file 'benchmarks/shared/jquery.js' +end + +run Sinatra::Application \ No newline at end of file