summaryrefslogtreecommitdiff
path: root/tests/cpubound_async.py
blob: 03517fc401dab86b086644a90ca0df857babdfa4 (plain)
1
2
3
4
5
6
7
import time


def application(env, start_response):
    start_response('200 OK', [('Content-Type', 'text/html')])
    for i in range(1, 1000):
        yield "<h1>%s at %s</h1>" % (i, str(time.time()))