title: MITMProxy poor performance
body: <p>We are seeing very poor performance while using MITMProxy in Python.  We are custom forwarding requests using the <code>requests</code> Python library.  </p>
  
  <p>Our program uses the script mode on MITMProxy to create a custom request based on the request from a client and then return the response.  So, basically, for every request made to the proxy, a new request object is built with <code>requests</code>, then forwarded and then returned.</p>
  
  <p>How can I increase the performance of MITMProxy when using it to forward requests?</p>