This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:22Fan.Lisetrecipients: + Fan.Li
2012-05-30 06:43:22Fan.Lisetmessageid: <1338360202.75.0.403756763766.issue14960@psf.upfronthosting.co.za>
2012-05-30 06:43:22Fan.Lilinkissue14960 messages
2012-05-30 06:43:21Fan.Licreate