Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在gunicorn没有框架的情况下使用 raw。我正在向服务器发送 POST 请求。我在服务器端有如下代码:
gunicorn
def get_args(environ): # ... request_body = environ["wsgi.input"].read().decode('utf-8') # ...
如果所有请求都需要 0.97 秒,那么 0.93 秒正在处理environ["wsgi.input"].read().
environ["wsgi.input"].read()
我应该修复什么以使其处理更快?