[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pypy-dev
Subject:    Re: [pypy-dev] Is PyPy appropriate for Django?
From:       Andy <angelflow () yahoo ! com>
Date:       2011-08-25 15:01:25
Message-ID: 1314284485.18963.YahooMailNeo () web111302 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 <davidf@sjsoft.com>
To: Andy <angelflow@yahoo.com>
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 


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt"><div><span>Hi \
David,</span></div><div><span><br></span></div><div><span>Which platform are you \
using?</span></div><div><br></div><div>How big of a speedup did you get? Did the \
memory footprint increased \
significantly?</div><div><br></div><div>Thanks.</div><div><br></div><div \
style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; \
"><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, \
serif; "><font size="2" face="Arial"><hr size="1"><b><span \
style="font-weight:bold;">From:</span></b> David Fraser \
&lt;davidf@sjsoft.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Andy \
&lt;angelflow@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> \
pypy-dev@python.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, \
August 25, 2011 1:12  AM<br><b><span style="font-weight: bold;">Subject:</span></b> \
Re: [pypy-dev] Is PyPy appropriate for Django?<br></font><br>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?<br><br>----- Original Message ----- <br><br>From: "Andy" &lt;<a \
ymailto="mailto:angelflow@yahoo.com" \
href="mailto:angelflow@yahoo.com">angelflow@yahoo.com</a>&gt; <br>To: <a \
ymailto="mailto:pypy-dev@python.org" \
href="mailto:pypy-dev@python.org">pypy-dev@python.org</a> <br>Sent: Wednesday, August \
24, 2011 11:26:25 PM <br>Subject: [pypy-dev] Is PyPy appropriate for Django? \
<br><br><br><br>Hi, <br><br><br>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? <br><br><br>1) For URL routing \
Django uses the re module,  which is a C extension. Would JIT work with that? \
<br><br><br>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? <br><br><br>In general are there \
any rules of thumbs regarding PyPy and C extensions - what works, what doesn't? \
<br><br><br>Thanks. <br>_______________________________________________ <br>pypy-dev \
mailing list <br><a ymailto="mailto:pypy-dev@python.org" \
href="mailto:pypy-dev@python.org">pypy-dev@python.org</a> <br><a \
href="http://mail.python.org/mailman/listinfo/pypy-dev" \
target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a> \
<br><br><br></div></div></div></body></html>



_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic