[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:       David Fraser <davidf () sjsoft ! com>
Date:       2011-08-25 5:12:54
Message-ID: 0dd6e2ef-c45b-4ddb-a816-353ee0c583b3 () jackdaw ! local
[Download RAW message or body]

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 
_______________________________________________
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