def _j3(port=8080): import techempower_frameworks_benchmark as tefb server = _async.server('0.0.0.0', port) _async.register(transport=server, protocol=tefb.JsonGmtimeHttpServerSlow) #_async.run_once() return server
def _j4(port=8080): import techempower_frameworks_benchmark as tefb server = _async.server('0.0.0.0', port) _async.register(transport=server, protocol=tefb.TestSync) #_async.run_once() return server
def _tefb_json(port=8080): import techempower_frameworks_benchmark as tefb server = _async.server('0.0.0.0', port) _async.register(transport=server, protocol=tefb.BaseHttpServer) #_async.run_once() return server