python from sanic import Sanic, response app = Sanic(__name__) @app.route("/") async def hello(request): return response.text("Hello, Sanic!") if __name__ == "__main__": app.run(host="0.0.0.0", port=8000) sudo apt-get install apache2-utils ab -n 10000 -c 1000 http://localhost:8000/


上一篇:
下一篇:
切换中文