<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Installing Python on Shared Server</title>
	<atom:link href="http://www.wombatnation.com/2004/12/installing-python-on-shared-server/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wombatnation.com/2004/12/installing-python-on-shared-server</link>
	<description>Speech Applications, Soccer, Hacking, Intellectual Property, and Incinerating Toilets</description>
	<lastBuildDate>Mon, 08 Mar 2010 18:38:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Boger&#8217;Såšå®¢ &#187; Blog Archive &#187; TurboGearsOnDreamHost</title>
		<link>http://www.wombatnation.com/2004/12/installing-python-on-shared-server/comment-page-1#comment-3039</link>
		<dc:creator>Boger&#8217;Såšå®¢ &#187; Blog Archive &#187; TurboGearsOnDreamHost</dc:creator>
		<pubDate>Mon, 24 Jul 2006 22:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.wombatnation.com/2004/12/installing-python-on-shared-server#comment-3039</guid>
		<description>[...] Installing Python on a Shared Server - http://www.wombatnation.com/2004/12/installing-python-on-shared-server [...]</description>
		<content:encoded><![CDATA[<p>[...] Installing Python on a Shared Server &#8211; <a href="http://www.wombatnation.com/2004/12/installing-python-on-shared-server" rel="nofollow">http://www.wombatnation.com/2004/12/installing-python-on-shared-server</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.wombatnation.com/2004/12/installing-python-on-shared-server/comment-page-1#comment-1101</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Mon, 04 Apr 2005 07:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.wombatnation.com/2004/12/installing-python-on-shared-server#comment-1101</guid>
		<description>I ran a quick test to see if my python 2.4 build was any slower than the DH build of 2.1.3.

Here&#039;s the code:

import time, math

t = time.asctime()
print t
x = 1
for i in range(1000000):
    x = math.tanh(i)
t = time.asctime()
print t

With the DH installed version on the server dali
Python 2.1.3 (#1, Sep  7 2002, 15:29:56)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
I got a time of five seconds on five straight runs.

With my build of python 2.4 on the same server:
Python 2.4 (#1, Dec 14 2004, 00:04:38)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
I got times of three seconds on every run but one, which took six seconds. I alternated between versions so as to hopefully mitigate any effects of the shared server being more or less busy at different times.

Despite the fact that the mathematical performance does seem to be improved, I have also noticed that python 2.4 seems to be slower to start up.

Unfortunately, that obviously causes a big hit on cgi performance for us, since we don&#039;t have access to mod_python on a DH shared server.

The built-in python is almost instantaneous to display the interpreter prompt, but my version of python 2.4 can take anywhere from almost instantaneous (maybe a 1/4 second) up to a second.</description>
		<content:encoded><![CDATA[<p>I ran a quick test to see if my python 2.4 build was any slower than the DH build of 2.1.3.</p>
<p>Here&#8217;s the code:</p>
<p>import time, math</p>
<p>t = time.asctime()<br />
print t<br />
x = 1<br />
for i in range(1000000):<br />
    x = math.tanh(i)<br />
t = time.asctime()<br />
print t</p>
<p>With the DH installed version on the server dali<br />
Python 2.1.3 (#1, Sep  7 2002, 15:29:56)<br />
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2<br />
I got a time of five seconds on five straight runs.</p>
<p>With my build of python 2.4 on the same server:<br />
Python 2.4 (#1, Dec 14 2004, 00:04:38)<br />
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2<br />
I got times of three seconds on every run but one, which took six seconds. I alternated between versions so as to hopefully mitigate any effects of the shared server being more or less busy at different times.</p>
<p>Despite the fact that the mathematical performance does seem to be improved, I have also noticed that python 2.4 seems to be slower to start up.</p>
<p>Unfortunately, that obviously causes a big hit on cgi performance for us, since we don&#8217;t have access to mod_python on a DH shared server.</p>
<p>The built-in python is almost instantaneous to display the interpreter prompt, but my version of python 2.4 can take anywhere from almost instantaneous (maybe a 1/4 second) up to a second.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://www.wombatnation.com/2004/12/installing-python-on-shared-server/comment-page-1#comment-1097</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 30 Mar 2005 20:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.wombatnation.com/2004/12/installing-python-on-shared-server#comment-1097</guid>
		<description>I just followed your instructions to install python2.4, and it seems much slower than the python2.1 or pythong2.2 that were already installed on my server (pogo).

For example, just entering the python interactive mode takes several seconds in 2.4.  Any ideas on how to speed this up?</description>
		<content:encoded><![CDATA[<p>I just followed your instructions to install python2.4, and it seems much slower than the python2.1 or pythong2.2 that were already installed on my server (pogo).</p>
<p>For example, just entering the python interactive mode takes several seconds in 2.4.  Any ideas on how to speed this up?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
