webapps.benchmark: better main name.

John Benediktsson 2011-10-12 12:35:34 -07:00
parent d6190e9ef7
commit ea072f3945
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ TUPLE: benchmark < dispatcher ;
<hello-action> "hello" add-responder <hello-action> "hello" add-responder
"resource:" <static> "static" add-responder ; "resource:" <static> "static" add-responder ;
: run-benchmark ( -- ) : run-benchmark-webapp ( -- )
<benchmark> <benchmark>
main-responder set-global main-responder set-global
8080 httpd drop ; 8080 httpd drop ;
@ -31,4 +31,4 @@ TUPLE: benchmark < dispatcher ;
! * static content ! * static content
! http://localhost:8080/static/readme.html ! http://localhost:8080/static/readme.html
MAIN: run-benchmark MAIN: run-benchmark-webapp