Flask request.form.get too slow?
I did face this issue as well. I was uploading a video file using request.post()
. Turns out that the video uploading was not the issue.
The timing bottleneck was the request.form.get()
. While I am still trying to figure out the issue, you can use Flask Monitoring Dashboard to time profile the code
Turns out that the under the hood is return self._sock.recv_into(b)
if you use the profiler