def falcon_app(port):
from web.apps.falcon_app import FalconApplication<EOL>app = FalconApplication()<EOL>class Home(Handler):<EOL><INDENT>def get(self, req, resp):<EOL><INDENT>resp.body = HELLO_WORLD<EOL><DEDENT><DEDENT>class Landing(Handler):<EOL><INDENT>def get(self, req, resp):<EOL><INDENT>resp.body = LANDING_PAGE<EOL><DEDENT><DEDENT>app.add_route('<STR_LIT:/>', Home())<EOL>app.add_route('<STR_LIT>', Landing())<EOL>app.add_static_route('<STR_LIT>', STATIC_PATH)<EOL>app.start(port=port)<EOL>
With logging

    Running 30s test @ http://127.0.0.1:8888/
      12 threads and 400 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency    62.65ms   10.04ms 189.96ms   87.87%
        Req/Sec   526.93    159.98     1.00k    64.25%
      188860 requests in 30.06s, 23.41MB read
    Requests/sec:   6283.35
    Transfer/sec:    797.69KB