Message161931
| Author |
Fan.Li |
| Recipients |
Fan.Li |
| Date |
2012年05月30日.06:43:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338360202.75.0.403756763766.issue14960@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
first, i'm sorry about my english.
when i test the HTTPServer lib local, it's fast. but when i run the test script on another PC, i found it very slow, response for a request cost about 4s.
then, i walk into the source about HTTPServer and found an function which just print some infomation about the request like this:
xxx.xxx.xxx.xxx - 'GET /path/xxx.xxx' 200
i cost 4s long!! just because it call a function name getfqdn(), it's very slow to do this.
then i overwrite the BaseHttpRequest.log_message, problem solved.
may be you can remove the function getfqdn() ? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月30日 06:43:22 | Fan.Li | set | recipients:
+ Fan.Li |
| 2012年05月30日 06:43:22 | Fan.Li | set | messageid: <1338360202.75.0.403756763766.issue14960@psf.upfronthosting.co.za> |
| 2012年05月30日 06:43:22 | Fan.Li | link | issue14960 messages |
| 2012年05月30日 06:43:21 | Fan.Li | create |
|