Hi Gurus,<div><br></div><div>Currently I&#39;m running twisted web via this command line:</div><div>twistd.bat web -n --path=%path%<br clear="all"><br></div><div>and place a .rpy file in that directory which looks like following:</div>

<div>class MyResource</div><div>      def render_POST(self, request):</div><div>           do_something; write file and return</div><div><br></div><div><div>resource = MyResource()</div><div><br></div><div>My question is:</div>

<div>1. How can I turn on the --profile option?</div><div>2. Any way to know how many millisecond elapsed between &quot;request received&quot; and render_POST call?</div><div>3. If there are a bunch of files need to be uploaded (say at 50MB/s speed ) and save by server, Should I write the file directly in render_POST or using deferred call?</div>

<div><br></div><div>Thanks.</div></div><div><br>-- <br>&gt;: ~<br>
</div>