From: Mark Dufour <mark.duf...@gmail.com>
Date: Fri, 20 Jan 2012 10:46:35 +0100
Local: Fri, Jan 20 2012 4:46 am
Subject: Re: osnews article
(one more comment: shedskin -b is not the end of it. shedskin -bw is
often faster (though one has be sure that doesn't change the program). then there's -fprofile-generate, -O3 is perhaps faster etc..) On Fri, Jan 20, 2012 at 10:43 AM, Mark Dufour <mark.duf...@gmail.com> wrote: -- > ha raphael, > thanks for testing. it looks like it may be the case something is > I ran the matmul and sudoku tests here (linux 3.0, gcc 4.6.1, libgc > matmul v1: > cpython 253 > (so a factor of 5 faster than pypy, compared to the 2 times you see.. > matmul v2 > cpython 232 > (okay, something seems wrong here, and I'm guessing array element > matmul v3 > cpython 296 > (fastest pypy time here, still about 3 times slower than shedskin -b. > so I would say we can conclude that given the task of multiplying a > as for the sudoku test: > sudoku > it's great pypy is improving, but (again) I don't think it will be > the dict benchmark mostly tests memory allocation within the dict > thanks again! > On Wed, Jan 18, 2012 at 9:56 PM, Raphael Clifford <drr...@gmail.com> wrote: >>> On Mon, Jan 16, 2012 at 5:20 PM, Raphael Clifford <drr...@gmail.com> wrote: >>> well, it should only take a few minutes do re-run these tests with >> It's not quite as simple as it sounds to run the tests as they don't >> For pypy I used a recent nightly build. For shedskin I used 0.91. The >> For the matrix multiplication tests you have to set a size and I chose n = 800 >> pypy : timing 6s , memory 188688maxresident >> matmul_v2.py >> pypy: timing 4s, memory 154208maxresident >> matmul_v3.py >> pypy : timing 5s, memory 154368maxresident >> The dictionary test seems very bad for both shedskin and pypy. >> cat test.dict |/usr/bin/time ./dict_v1 >> pypy : 9s, memory 404592maxresident >> shedskin also outputs warning from the garbage collector GC. >> BUT >> cpython 2.6 : 6s, memory 308560maxresident >> The Sudoku test doesn't come with the code they actually used that I >> pypy : 48s, 190384maxresident >> and just for fun >> C : 7s, 1664maxresident >> The pattern matching test seems to finish almost instantly with no >> Hope this helps. >> Raphael >> -- http://www.youtube.com/watch?v=E6LsfnBmdnk You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||