forked from yesodweb/benchmarks
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
add passenger
- Loading branch information
Showing
4 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash -x | ||
DIR="$( cd "$( dirname "$0" )" && pwd )" | ||
d=$(readlink -f $DIR) | ||
source lib.sh | ||
|
||
mkdir -p passenger/public | ||
mkdir -p passenger/tmp | ||
|
||
sudo /opt/nginx/sbin/nginx -c /opt/nginx/conf/nginx.conf | ||
|
||
benchmark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class RackApp | ||
def call(env) | ||
[200, {'Content-Type' => 'text/plain'}, ["PONG"]] | ||
end | ||
end | ||
run RackApp.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,4 @@ mkdir -p results | |
./tornado.sh | ||
./node.sh | ||
#./nginx.sh | ||
#./unicorn.sh | ||
#./thin.sh | ||
./goliath.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters