webapps.benchmark: better main name.
parent
e7489ba16a
commit
557f8355de
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue