Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Maciej Fijalkowski
On Sat, Oct 8, 2011 at 1:56 AM, Andy wrote: > What causes Tornado's memory usage to grow constantly? Is it a bug in PyPy > or Tornado? PyPy. It does get freed at *some point*, but some point is too far in the future. It was about objects like sockets and hashes not accounting for memory usage by

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Andy
What causes Tornado's memory usage to grow constantly? Is it a bug in PyPy or Tornado? It *might* be the same thing as with tornado where memory usage grows constantly. Justin peel is working on it and it'll be in 1.7 some time soon (it does not have to though,

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Maciej Fijalkowski
On Sat, Oct 8, 2011 at 1:28 AM, Igor Katson wrote: > On 10/08/2011 02:50 AM, Maciej Fijalkowski wrote: >> >> On Sat, Oct 8, 2011 at 12:48 AM, Andy  wrote: >>> >>> 15 times more memory? That's a lot. >>> Interestingly Quora reported that their PyPy processes were only 50% >>> larger >>> than CPytho

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Igor Katson
On 10/08/2011 02:50 AM, Maciej Fijalkowski wrote: On Sat, Oct 8, 2011 at 12:48 AM, Andy wrote: 15 times more memory? That's a lot. Interestingly Quora reported that their PyPy processes were only 50% larger than CPython ones: http://www.quora.com/Quora-Infrastructure/Did-Quoras-switch-to-PyPy-r

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Maciej Fijalkowski
On Sat, Oct 8, 2011 at 12:48 AM, Andy wrote: > 15 times more memory? That's a lot. > Interestingly Quora reported that their PyPy processes were only 50% larger > than CPython ones: > http://www.quora.com/Quora-Infrastructure/Did-Quoras-switch-to-PyPy-result-in-increased-memory-consumption > > "ou

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Andy
15 times more memory? That's a lot. Interestingly Quora reported that their PyPy processes were only 50% larger than CPython ones: http://www.quora.com/Quora-Infrastructure/Did-Quoras-switch-to-PyPy-result-in-increased-memory-consumption "our PyPy worker processes themselves take approximately

[pypy-dev] Success histories needed

2011-10-07 Thread Maciej Fijalkowski
Hi We're gathering success stories for the website. Anyone feel like providing name, company and some data how pypy worked for them (we accept info how it didn't work on bugs.pypy.org all the time :) Cheers, fijal ___ pypy-dev mailing list pypy-dev@pyth

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Jeremy Sandell
On Fri, Oct 7, 2011 at 1:21 PM, Leonardo Santagada wrote: > No one complains about it, but Solr does do a warmup phase while > bringing the server up before starting to serve real requests. FWIW, this is something I often do with Flask and Werkzeug (on PyPy and gunicorn) after restarting - pass

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Igor Katson
On 10/07/2011 08:50 PM, Maciej Fijalkowski wrote: On Fri, Oct 7, 2011 at 1:33 PM, Igor Katson wrote: When I first started benchmarking one of my Django sites, http://trip-travel.ru/ (using postgres driver pypq), I was disappointed by the results. PyPy was visually much slower than cPython (I ju

Re: [pypy-dev] strange error in urlunparse

2011-10-07 Thread Maciej Fijalkowski
On Fri, Oct 7, 2011 at 12:24 PM, Max Lavrenov wrote: > Hello all > > I've written small program that show the problem. > http://paste.pocoo.org/show/488730/ > > You can test it with this line  ab -n 1000 http://localhost:8032/ > > After 810 request i am starting to get errors > http://paste.pocoo.

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Maciej Fijalkowski
On Fri, Oct 7, 2011 at 7:19 PM, Ian P. Cooke wrote: > > On Oct 07, 2011, at 11:50 , Maciej Fijalkowski wrote: > > On Fri, Oct 7, 2011 at 1:33 PM, Igor Katson wrote: > > [...] > > Though, the need to load the page 500 times after each server reload is not > > comfortable. > > [...] > I've heard pe

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Leonardo Santagada
No one complains about it, but Solr does do a warmup phase while bringing the server up before starting to serve real requests. On Fri, Oct 7, 2011 at 2:15 PM, Michael Foord wrote: > > > On 7 October 2011 18:08, Maciej Fijalkowski wrote: >> >> On Fri, Oct 7, 2011 at 7:04 PM, Michael Foord wrote

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Michael Foord
On 7 October 2011 18:08, Maciej Fijalkowski wrote: > On Fri, Oct 7, 2011 at 7:04 PM, Michael Foord wrote: > > > > > > On 7 October 2011 17:50, Maciej Fijalkowski wrote: > >> > >> On Fri, Oct 7, 2011 at 1:33 PM, Igor Katson > wrote: > >> > When I first started benchmarking one of my Django site

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Maciej Fijalkowski
On Fri, Oct 7, 2011 at 7:04 PM, Michael Foord wrote: > > > On 7 October 2011 17:50, Maciej Fijalkowski wrote: >> >> On Fri, Oct 7, 2011 at 1:33 PM, Igor Katson wrote: >> > When I first started benchmarking one of my Django sites, >> > http://trip-travel.ru/ (using postgres driver pypq), >> > I w

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Michael Foord
On 7 October 2011 17:50, Maciej Fijalkowski wrote: > On Fri, Oct 7, 2011 at 1:33 PM, Igor Katson wrote: > > When I first started benchmarking one of my Django sites, > > http://trip-travel.ru/ (using postgres driver pypq), > > I was disappointed by the results. PyPy was visually much slower than

Re: [pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Maciej Fijalkowski
On Fri, Oct 7, 2011 at 1:33 PM, Igor Katson wrote: > When I first started benchmarking one of my Django sites, > http://trip-travel.ru/ (using postgres driver pypq), > I was disappointed by the results. PyPy was visually much slower than > cPython (I just looked at how the site loads in the browse

Re: [pypy-dev] Why `pypy-c.exe`?

2011-10-07 Thread Michael Foord
On 7 October 2011 07:35, Armin Rigo wrote: > Hi, > > On Thu, Oct 6, 2011 at 16:40, Michael Foord wrote: > >> > And is that a good enough reason to call it "pypy-c.exe" and risk > >> > confusing users? > >> > >> Is it confusing? > > > > Yes > > Ah, if you say so. Fixed. > > Ever the man of actio

[pypy-dev] Benchmarking PyPy performance on real-world Django app

2011-10-07 Thread Igor Katson
When I first started benchmarking one of my Django sites, http://trip-travel.ru/ (using postgres driver pypq), I was disappointed by the results. PyPy was visually much slower than cPython (I just looked at how the site loads in the browser) But today I got some incredible results, I finally ma

Re: [pypy-dev] strange error in urlunparse

2011-10-07 Thread Max Lavrenov
Hello all I've written small program that show the problem. http://paste.pocoo.org/show/488730/ You can test it with this line ab -n 1000 http://localhost:8032/ After 810 request i am starting to get errors http://paste.pocoo.org/show/488732/ if i start it with --jit off it work fine Yes, pl

Re: [pypy-dev] PyPy 1.6 not working on Windows XP

2011-10-07 Thread Ram Rachum
On Thu, Oct 6, 2011 at 10:13 AM, Amaury Forgeot d'Arc wrote: > Hi, > > 2011/10/5 Martin Kretschmar : > > Microsofts free WinDbg (http://en.wikipedia.org/wiki/WinDbg) can also > attach > > to running processes. > > A release build of pypy contains no debug information > Believe me, a debugger won't