Great results for MyHDL simulations
![](https://secure.gravatar.com/avatar/e947f36b75d6f61fbcae8160565820ad.jpg?s=120&d=mm&r=g)
I am seeing great improvements for MyHDL simulations by using PyPy, and I have written a page about it: http://www.myhdl.org/doku.php/performance I have asked for feedback from the MyHDL community to confirm these results, before creating some more buzz in the hardware design world :-) Thanks! Jan Decaluwe -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com Analog design automation: http://www.mephisto-da.com World-class digital design: http://www.easics.com
![](https://secure.gravatar.com/avatar/cdc3cafa377f0e0e93fc69636021ef65.jpg?s=120&d=mm&r=g)
On 07/06/11 17:02, Jan Decaluwe wrote:
I am seeing great improvements for MyHDL simulations by using PyPy, and I have written a page about it:
Hello Jan, this is really nice to hear :-) Did you try to run the benchmarks with a more recent version of PyPy? According to this chart, we are up to 30% faster than 1.5 on some benchmarks, so you might get even better results: http://speed.pypy.org/comparison/?exe=1%2B301%2C1%2BL&ben=1%2C27%2C2%2C25%2C3%2C4%2C5%2C22%2C6%2C7%2C8%2C23%2C24%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C26&env=1&hor=false&bas=1%2B301&chart=normal+bars ciao, Anto
![](https://secure.gravatar.com/avatar/e947f36b75d6f61fbcae8160565820ad.jpg?s=120&d=mm&r=g)
On 06/07/2011 05:23 PM, Antonio Cuni wrote:
On 07/06/11 17:02, Jan Decaluwe wrote:
I am seeing great improvements for MyHDL simulations by using PyPy, and I have written a page about it:
Hello Jan,
this is really nice to hear :-)
Did you try to run the benchmarks with a more recent version of PyPy? According to this chart, we are up to 30% faster than 1.5 on some benchmarks, so you might get even better results:
Not yet, I like to leave some further excitement for later :-) From now on, I plan to track the evolution of my benchmarks with official PyPy releases. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com Analog design automation: http://www.mephisto-da.com World-class digital design: http://www.easics.com
![](https://secure.gravatar.com/avatar/e947f36b75d6f61fbcae8160565820ad.jpg?s=120&d=mm&r=g)
On 06/07/2011 11:40 PM, Jan Decaluwe wrote:
On 06/07/2011 05:23 PM, Antonio Cuni wrote:
On 07/06/11 17:02, Jan Decaluwe wrote:
I am seeing great improvements for MyHDL simulations by using PyPy, and I have written a page about it:
Hello Jan,
this is really nice to hear :-)
Did you try to run the benchmarks with a more recent version of PyPy? According to this chart, we are up to 30% faster than 1.5 on some benchmarks, so you might get even better results:
Not yet, I like to leave some further excitement for later :-)
From now on, I plan to track the evolution of my benchmarks with official PyPy releases.
Getting better all the time :-) With PyPy 1.6, I see additional significant improvements (probably also thanks to the generator-specific speedup). Speedup compared to cPython is now 8-20x (was 6-12x). http://www.myhdl.org/doku.php/performance Thanks to all! -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com
![](https://secure.gravatar.com/avatar/bfc96d2a02d9113edb992eb96c205c5a.jpg?s=120&d=mm&r=g)
On Sun, Aug 28, 2011 at 8:01 PM, Jan Decaluwe <jan@jandecaluwe.com> wrote:
On 06/07/2011 11:40 PM, Jan Decaluwe wrote:
On 06/07/2011 05:23 PM, Antonio Cuni wrote:
On 07/06/11 17:02, Jan Decaluwe wrote:
I am seeing great improvements for MyHDL simulations by using PyPy, and I have written a page about it:
Hello Jan,
this is really nice to hear :-)
Did you try to run the benchmarks with a more recent version of PyPy? According to this chart, we are up to 30% faster than 1.5 on some benchmarks, so you might get even better results:
Not yet, I like to leave some further excitement for later :-)
From now on, I plan to track the evolution of my benchmarks with official PyPy releases.
Getting better all the time :-)
With PyPy 1.6, I see additional significant improvements (probably also thanks to the generator-specific speedup). Speedup compared to cPython is now 8-20x (was 6-12x).
http://www.myhdl.org/doku.php/performance
Thanks to all!
Wow great!
participants (3)
-
Antonio Cuni
-
Jan Decaluwe
-
Maciej Fijalkowski