Skip to content
Myr

Added sinatra static benchmark

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent c07bd31 · Browse files · 2 files+12 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+12 added−2 removed

  • other:+12 added−2 removed

2 files+12 added−2 removed

added:benchmarks/thin/static.sinatra.ru+9 added
12require 'rubygems'3require 'sinatra'45get '/' do6 send_file 'benchmarks/shared/jquery.js'7end89run Sinatra::Application
modified:benchmarks/run+3 added-2 removed
16 unmodified lines
17 express)18 node benchmarks/express/$file &19 ;;20 thin)21 thin -R benchmarks/thin/simple.ru -p 3000 start &21 thin -R benchmarks/thin/$file -p 3000 start &22 ;;23 esac24 pid=$!25 sleep $SLEEP
5 unmodified lines
31log ab $ABFLAGS $ADDR32bm express simple.js33bm express static.js34bm thin simple.ru35bm thin simple.sinatra.ru35bm thin simple.sinatra.ru36bm thin static.sinatra.ru