<?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: The future can be written in RPython now</title>
	<atom:link href="http://pyevolve.sourceforge.net/wordpress/?feed=rss2&#038;p=1189" rel="self" type="application/rss+xml" />
	<link>http://pyevolve.sourceforge.net/wordpress/?p=1189</link>
	<description>by Christian S. Perone</description>
	<lastBuildDate>Sun, 29 Apr 2012 20:25:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Billy</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-15720</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Wed, 13 Apr 2011 23:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-15720</guid>
		<description>Christian,

Eric Floehr in his pycon 2011 presentation states that pypy runs pyevolve code 3-4 times faster than cpython.  But I&#039;ve downloaded his code and ran it myself, and cpython runs the code 3 times faster than pypy (the exact opposite of what Eric proclaims, but I&#039;m running python 2.6 (and 2.7) and pypy 1.4.1, so that might make some of the difference).   

I&#039;ve ran several of the examples in the trunk version of pyevolve, and for quick examples, cpython wins, and for longer jobs pypy usually wins (which is expected).   I&#039;ve also tried different population sizes for GPs to see if that would make a difference since memory usage would be different, and that does not affect the results when comparing cpython and pypy.

I&#039;ve only ran Eric&#039;s code on one machine, but I&#039;ll try others and see if I get different results.  If I can&#039;t reproduce Eric&#039;s results, I might send him an email and see if he can give me some details.

Again, I want to thank you for pyevolve, I&#039;ve really enjoyed using it.

Billy</description>
		<content:encoded><![CDATA[<p>Christian,</p>
<p>Eric Floehr in his pycon 2011 presentation states that pypy runs pyevolve code 3-4 times faster than cpython.  But I&#8217;ve downloaded his code and ran it myself, and cpython runs the code 3 times faster than pypy (the exact opposite of what Eric proclaims, but I&#8217;m running python 2.6 (and 2.7) and pypy 1.4.1, so that might make some of the difference).   </p>
<p>I&#8217;ve ran several of the examples in the trunk version of pyevolve, and for quick examples, cpython wins, and for longer jobs pypy usually wins (which is expected).   I&#8217;ve also tried different population sizes for GPs to see if that would make a difference since memory usage would be different, and that does not affect the results when comparing cpython and pypy.</p>
<p>I&#8217;ve only ran Eric&#8217;s code on one machine, but I&#8217;ll try others and see if I get different results.  If I can&#8217;t reproduce Eric&#8217;s results, I might send him an email and see if he can give me some details.</p>
<p>Again, I want to thank you for pyevolve, I&#8217;ve really enjoyed using it.</p>
<p>Billy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian S. Perone</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-15719</link>
		<dc:creator>Christian S. Perone</dc:creator>
		<pubDate>Wed, 13 Apr 2011 12:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-15719</guid>
		<description>Hello Billy, this is surprise to me too, I haven&#039;t tested the GP core using PyPy yet, but it should not so slow as you reported. Have you tried to compare the CPython vs yours PyPy version with some Genetic Algorithm ? I&#039;ll probably need to profile it in PyPy and check why is it so slow when compared to CPython. Have you checked the memory footprint between two interpreters ? What is the size of your population ?</description>
		<content:encoded><![CDATA[<p>Hello Billy, this is surprise to me too, I haven&#8217;t tested the GP core using PyPy yet, but it should not so slow as you reported. Have you tried to compare the CPython vs yours PyPy version with some Genetic Algorithm ? I&#8217;ll probably need to profile it in PyPy and check why is it so slow when compared to CPython. Have you checked the memory footprint between two interpreters ? What is the size of your population ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-15718</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Wed, 13 Apr 2011 01:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-15718</guid>
		<description>To let you know,  I&#039;m running pyevolve 0.6, Multiprocessing off.   A sample run of 10 generations of a GP (depth = 5) takes about 7 minutes on pypy, and only 2 minutes on python 2.7.    pypy is jit enabled.  Pysco is not being used.

I&#039;ll try running a few other apps through pypy and python and see if the performance is about the same or if pypy is faster.

Any info you can provide will be helpful! :)

By the way, pyevolve is awesome!</description>
		<content:encoded><![CDATA[<p>To let you know,  I&#8217;m running pyevolve 0.6, Multiprocessing off.   A sample run of 10 generations of a GP (depth = 5) takes about 7 minutes on pypy, and only 2 minutes on python 2.7.    pypy is jit enabled.  Pysco is not being used.</p>
<p>I&#8217;ll try running a few other apps through pypy and python and see if the performance is about the same or if pypy is faster.</p>
<p>Any info you can provide will be helpful! <img src='http://pyevolve.sourceforge.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>By the way, pyevolve is awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-15717</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Tue, 12 Apr 2011 22:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-15717</guid>
		<description>Christian,

I&#039;m using Pypy 1.4.1, and I&#039;ve tried running a pyevolve GP on 3 different machines with different processors (AMD, Intel, 64 and 32 bit), and each run is much slower than regular python.  The version of PyPy I&#039;m running is the JIT version compiled version you can download on the pypy web site.

Are there special command line parameters I should be passing to pypy?
What command line arguments did you use to start and run your pypy scripts?

When I run a pystone test, pypy out performs the python version.  So this really surprises me.

Thanks
Billy</description>
		<content:encoded><![CDATA[<p>Christian,</p>
<p>I&#8217;m using Pypy 1.4.1, and I&#8217;ve tried running a pyevolve GP on 3 different machines with different processors (AMD, Intel, 64 and 32 bit), and each run is much slower than regular python.  The version of PyPy I&#8217;m running is the JIT version compiled version you can download on the pypy web site.</p>
<p>Are there special command line parameters I should be passing to pypy?<br />
What command line arguments did you use to start and run your pypy scripts?</p>
<p>When I run a pystone test, pypy out performs the python version.  So this really surprises me.</p>
<p>Thanks<br />
Billy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Behnel</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-9975</link>
		<dc:creator>Stefan Behnel</dc:creator>
		<pubDate>Fri, 28 May 2010 06:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-9975</guid>
		<description>I agree that the comparison wouldn&#039;t be fair, but a Cython implementation would still be the easiest way to get a good base line for how close to C speed your PyPy benchmark results are. Cython is the language that many Python users write numeric calculations in, so the example you give would have been predestined for a Cython implementation - unless your real fear is the competition. ;-)</description>
		<content:encoded><![CDATA[<p>I agree that the comparison wouldn&#8217;t be fair, but a Cython implementation would still be the easiest way to get a good base line for how close to C speed your PyPy benchmark results are. Cython is the language that many Python users write numeric calculations in, so the example you give would have been predestined for a Cython implementation &#8211; unless your real fear is the competition. <img src='http://pyevolve.sourceforge.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Friedrich Bolz</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-9945</link>
		<dc:creator>Carl Friedrich Bolz</dc:creator>
		<pubDate>Wed, 26 May 2010 15:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-9945</guid>
		<description>Cool. No hurries though :-)</description>
		<content:encoded><![CDATA[<p>Cool. No hurries though <img src='http://pyevolve.sourceforge.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian S. Perone</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-9942</link>
		<dc:creator>Christian S. Perone</dc:creator>
		<pubDate>Wed, 26 May 2010 12:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-9942</guid>
		<description>In my opinion, the start-up time makes part of the whole run, would be nice to have it cited, but it&#039;s part of the whole run since you&#039;ll have to lose this time anyway (specially in optimization problems for instance). If you run a test with the other interpreters and with Jython, you&#039;ll see that the startup time is amortized in the long run time, what makes Jython so slow in the benchmarks isn&#039;t the the start-up time, but the overall performance, even when the server mode is enabled, you can note this in the course of the evolution, the time required to evolve 500 generations for example, is very high when compared with other interpreters (and even after the jvm has performed JIT optimizations like inlining, etc...).</description>
		<content:encoded><![CDATA[<p>In my opinion, the start-up time makes part of the whole run, would be nice to have it cited, but it&#8217;s part of the whole run since you&#8217;ll have to lose this time anyway (specially in optimization problems for instance). If you run a test with the other interpreters and with Jython, you&#8217;ll see that the startup time is amortized in the long run time, what makes Jython so slow in the benchmarks isn&#8217;t the the start-up time, but the overall performance, even when the server mode is enabled, you can note this in the course of the evolution, the time required to evolve 500 generations for example, is very high when compared with other interpreters (and even after the jvm has performed JIT optimizations like inlining, etc&#8230;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serhiy</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-9938</link>
		<dc:creator>Serhiy</dc:creator>
		<pubDate>Wed, 26 May 2010 08:11:01 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-9938</guid>
		<description>This is kinda weird to see Jython performing so badly. Why didn&#039;t you include warmup rounds for Jython? It&#039;s known that startup time of JVM is pretty big and warmups are required to have adequate benchmarks(let HotSpot do it&#039;s job in JVM).</description>
		<content:encoded><![CDATA[<p>This is kinda weird to see Jython performing so badly. Why didn&#8217;t you include warmup rounds for Jython? It&#8217;s known that startup time of JVM is pretty big and warmups are required to have adequate benchmarks(let HotSpot do it&#8217;s job in JVM).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan Wood</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-9934</link>
		<dc:creator>Brendan Wood</dc:creator>
		<pubDate>Wed, 26 May 2010 03:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-9934</guid>
		<description>&quot;all testes were performed over 10k generations&quot;

Ah, there&#039;s the key.  I missed that in your post and assumed you were running the optimization until it hit the global minimum, rather than for a set number of generations.  So yes, I agree with you now.</description>
		<content:encoded><![CDATA[<p>&#8220;all testes were performed over 10k generations&#8221;</p>
<p>Ah, there&#8217;s the key.  I missed that in your post and assumed you were running the optimization until it hit the global minimum, rather than for a set number of generations.  So yes, I agree with you now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fijal</title>
		<link>http://pyevolve.sourceforge.net/wordpress/?p=1189&#038;cpage=1#comment-9927</link>
		<dc:creator>fijal</dc:creator>
		<pubDate>Tue, 25 May 2010 18:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://pyevolve.sourceforge.net/wordpress/?p=1189#comment-9927</guid>
		<description>Hm.

I&#039;m getting increasingly annoyed by cython PR. Let&#039;s face it - Cython is *not* a python runtime and as such doesn&#039;t have to be included in every python runtimes comparison whether developers like it or not. It can be included, but it&#039;s not mandatory, especially if module X does not compile under cython</description>
		<content:encoded><![CDATA[<p>Hm.</p>
<p>I&#8217;m getting increasingly annoyed by cython PR. Let&#8217;s face it &#8211; Cython is *not* a python runtime and as such doesn&#8217;t have to be included in every python runtimes comparison whether developers like it or not. It can be included, but it&#8217;s not mandatory, especially if module X does not compile under cython</p>
]]></content:encoded>
	</item>
</channel>
</rss>

