Is PythonService Slow, Or, Is It The Code?
Aahz
aahz at pythoncraft.com
Wed May 21 14:40:47 EDT 2003
In article <mailman.1053539135.6707.python-list at python.org>,
John Abel <johnfabel at btinternet.com> wrote:
>
>Using medusa, I've written a simple FTP server to run on my Win2000
>machine. I have two versions, a Win32 service, and the other is
>launched from the command line. I've noticed, that the Win32 service is
>drastically slower than the command line version. As a test, I ftp'ed a
>148MB file from one machine to another (connected via a twisted cable,
>at 10Mbps). Using the service, the file transfered at 31kb/sec; with
>the cli version, it transfered at 549kb/sec.
What happens when your CLI version is *not* the foreground window?
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"In many ways, it's a dull language, borrowing solid old concepts from
many other languages & styles: boring syntax, unsurprising semantics,
few automatic coercions, etc etc. But that's one of the things I like
about it." --Tim Peters on Python, 16 Sep 93
More information about the Python-list
mailing list