latest benchmark, 2.6 compatibility, greenlet support

26 views
Skip to first unread message

Andy

unread,
Sep 21, 2010, 8:07:18 PM9/21/10
to Unladen Swallow
Hi,

1) The most recent release I could find was about a year old (http://
code.google.com/p/unladen-swallow/wiki/Release2009Q3). Has there been
any new releases since then? If so, do you have any performance &
memory consumption data for the latest release? I'm mainly interested
in using Unladen Swallow for Django.

2) Unladen Swallow is targeted for integration with Python 3. Does it
work with 2.6? If so, how to do that?

3) Does Unladen Swallow work with greenlets or greenlet-like libraries
such as gevent?

Thanks.

Brett Cannon

unread,
Sep 22, 2010, 3:03:58 PM9/22/10
to Andy, Unladen Swallow
On Tue, Sep 21, 2010 at 17:07, Andy <selfor...@gmail.com> wrote:
> Hi,
>
> 1) The most recent release I could find was about a year old (http://
> code.google.com/p/unladen-swallow/wiki/Release2009Q3). Has there been
> any new releases since then? If so, do you have any performance &
> memory consumption data for the latest release? I'm mainly interested
> in using Unladen Swallow for Django.

There has not been another release.

>
> 2) Unladen Swallow is targeted for integration with Python 3. Does it
> work with 2.6? If so, how to do that?

Unladen Swallow is a branch off of Python 2.6.

>
> 3) Does Unladen Swallow work with greenlets or greenlet-like libraries

I have no idea.

Antoine Pitrou

unread,
Sep 24, 2010, 10:01:10 AM9/24/10
to Unladen Swallow

On 22 sep, 02:07, Andy <selforgani...@gmail.com> wrote:
>
> 1) The most recent release I could find was about a year old (http://
> code.google.com/p/unladen-swallow/wiki/Release2009Q3). Has there been
> any new releases since then? If so, do you have any performance &
> memory consumption data for the latest release? I'm mainly interested
> in using Unladen Swallow for Django.

While apparently no official performance data has been released, a
simple comparison between SVN HEAD of unladen swallow and stock Python
2.7 gives the following:

$ ./perf.py -b django ~/cpython/release2.7-maint/python ~/unladen/
__svn__/python
Running django...
INFO:root:Running /home/antoine/unladen/__svn__/python ./performance/
bm_django.py -n 50
INFO:root:Running /home/antoine/cpython/release2.7-maint/python ./
performance/bm_django.py -n 50

Report on Linux localhost.localdomain 2.6.33.5-desktop-2mnb #1 SMP Thu
Jun 17 19:50:04 UTC 2010 x86_64 x86_64
Total CPU cores: 4

### django ###
Min: 0.676715 -> 0.455188: 1.4867x faster
Avg: 0.682615 -> 0.459449: 1.4857x faster
Significant (t=172.518561)
Stddev: 0.00825 -> 0.00394: 2.0934x smaller


By the way, the benchmark scripts are maintained at http://hg.python.org/benchmarks/

Good luck

Antoine.
Reply all
Reply to author
Forward
0 new messages