--===============0836779367== Content-Type: multipart/alternative; boundary="=_a290a6b3-e872-44cc-93ab-54cc397c0b51" --=_a290a6b3-e872-44cc-93ab-54cc397c0b51 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Andy I'm using our own internal platform which uses CherryPy, sqlalchemy and Routes. Currently I get a 20% speedup once JIT has completed; most of this I think has to do with our own native code that's not very friendly to PyPy JIT (lots of generators and **kwargs passing), so I'm hoping to get that better. I haven't monitored memory usage specifically Cheers David ----- Original Message ----- From: "Andy" To: "David Fraser" Cc: pypy-dev@python.org Sent: Thursday, August 25, 2011 5:01:25 PM Subject: Re: [pypy-dev] Is PyPy appropriate for Django? Hi David, Which platform are you using? How big of a speedup did you get? Did the memory footprint increased significantly? Thanks. From: David Fraser To: Andy Cc: pypy-dev@python.org Sent: Thursday, August 25, 2011 1:12 AM Subject: Re: [pypy-dev] Is PyPy appropriate for Django? I'm not using Django but another web platform; I've found some speedup using pypy after the JIT has kicked in, but it did require some profiling and adjusting of my code. Why not give pypy a go? ----- Original Message ----- From: "Andy" < angelflow@yahoo.com > To: pypy-dev@python.org Sent: Wednesday, August 24, 2011 11:26:25 PM Subject: [pypy-dev] Is PyPy appropriate for Django? Hi, In the PyPy benchmark there's a Django test that shows tremendous speedup of Django when running PyPy-JIT. But that is just for Django templates. What about the other parts of Django? 1) For URL routing Django uses the re module, which is a C extension. Would JIT work with that? 2) Other parts such as DB driver also contains C code, again would that work with JIT? I suppose I could use a pure Python driver, but would a JIT'd pure Python driver be much slower than a native driver? In general are there any rules of thumbs regarding PyPy and C extensions - what works, what doesn't? Thanks. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev --=_a290a6b3-e872-44cc-93ab-54cc397c0b51 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Times New Roman; font-size: 12pt; color: #000000'= >Hi Andy

I'm using our own internal platform which uses = CherryPy, sqlalchemy and Routes. Currently I get a 20% speedup once JIT has= completed; most of this I think has to do with our own native code that's = not very friendly to PyPy JIT (lots of generators and **kwargs passing), so= I'm hoping to get that better. I haven't monitored memory usage specifical= ly

Cheers
David


=
From: "Andy" <angelflow@yahoo.com>
To: "David Fraser" <david= f@sjsoft.com>
Cc: pypy-dev@python.org
Sent: Thursday= , August 25, 2011 5:01:25 PM
Subject: Re: [pypy-dev] Is PyPy appr= opriate for Django?

<= span>Hi David,

Which pla= tform are you using?

How big of a speedup d= id you get? Did the memory footprint increased significantly?
Thanks.


From: David Fraser <davidf@sjsoft.com>
To: Andy <angelflow@yahoo.com>=
Cc: pypy-dev@python.or= g
Sent: Thursday, Augus= t 25, 2011 1:12 AM
Subject: Re: [pypy-= dev] Is PyPy appropriate for Django?

I'm not using Django but= another web platform; I've found some speedup using pypy after the JIT has= kicked in, but it did require some profiling and adjusting of my code. Why= not give pypy a go?

----- Original Message -----

From: "And= y" <angelflow@y= ahoo.com>
To: pypy-dev@python.org
Sent: Wednesday, August 24, 2011 11:26:2= 5 PM
Subject: [pypy-dev] Is PyPy appropriate for Django?


Hi,


In the PyPy benchmark there's a Django test that shows tr= emendous speedup of Django when running PyPy-JIT. But that is just for Djan= go templates. What about the other parts of Django?


1) For URL = routing Django uses the re module, which is a C extension. Would JIT work with that?


2) Other par= ts such as DB driver also contains C code, again would that work with JIT? = I suppose I could use a pure Python driver, but would a JIT'd pure Python d= river be much slower than a native driver?


In general are there= any rules of thumbs regarding PyPy and C extensions - what works, what doe= sn't?


Thanks.
_____________________________________________= __
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailm= an/listinfo/pypy-dev



--=_a290a6b3-e872-44cc-93ab-54cc397c0b51-- --===============0836779367== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev --===============0836779367==--