<?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, MySQL, Python, Soccer, Java, Beer and Incinerating Toilets</description>
	<lastBuildDate>Thu, 26 Jan 2012 10:45:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<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>&lt;p&gt;[...] Installing Python on a Shared Server - http://www.wombatnation.com/2004/12/installing-python-on-shared-server [...]&lt;/p&gt;
</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>&lt;p&gt;I ran a quick test to see if my python 2.4 build was any slower than the DH build of 2.1.3.&lt;/p&gt;

&lt;p&gt;Here&#039;s the code:&lt;/p&gt;

&lt;p&gt;import time, math&lt;/p&gt;

&lt;p&gt;t = time.asctime()
print t
x = 1
for i in range(1000000):
    x = math.tanh(i)
t = time.asctime()
print t&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;
</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()
print t
x = 1
for i in range(1000000):
    x = math.tanh(i)
t = time.asctime()
print t</p>

<p>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.</p>

<p>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.</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>&lt;p&gt;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).&lt;/p&gt;

&lt;p&gt;For example, just entering the python interactive mode takes several seconds in 2.4.  Any ideas on how to speed this up?&lt;/p&gt;
</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>

