<div dir="ltr">Thanks! Not sure how I missed the Django templating one - probably my unconscious Flask bias ;)<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 26 Jan 2021 at 17:57, Matti Picus <<a href="mailto:matti.picus@gmail.com">matti.picus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/26/21 7:07 PM, Oliver Margetts wrote:<br>
<br>
> Hello all,<br>
><br>
> not sure where to post this, so I'll put it here. We recently wrote a <br>
> blog post where we benchmarked some python web frameworks: <br>
> <a href="https://suade.org/dev/12-requests-per-second-with-python/" rel="noreferrer" target="_blank">https://suade.org/dev/12-requests-per-second-with-python/</a><br>
><br>
> One of the big conclusions was: if you want faster code, use pypy! I <br>
> was pleasantly surprised as I was under the impression that web wasn't <br>
> pypy's strongest area (I'm not sure where from). I wondered if you <br>
> would consider adding something as simple as a "Hello, World" <br>
> benchmark to <a href="http://speed.pypy.org" rel="noreferrer" target="_blank">speed.pypy.org</a> <<a href="http://speed.pypy.org" rel="noreferrer" target="_blank">http://speed.pypy.org</a>>?<br>
><br>
> Aside from that, thanks for all of your efforts on making pypy fast!<br>
><br>
<br>
Thanks!. I liked the post. We have a simple django benchmark in the <br>
suite which shows PyPy to be about 4x faster for templating[0], I don't <br>
think it actually sets up for answering requests. There is a need for <br>
more complete site benchmarking like in your post.<br>
<br>
<br>
You may be interested in a deep dive[1] into profiling one django app <br>
with PyPy.<br>
<br>
<br>
Matti<br>
<br>
<br>
[0] <br>
<a href="https://foss.heptapod.net/pypy/benchmarks/-/blob/branch/default/unladen_swallow/performance/bm_django.py#L34" rel="noreferrer" target="_blank">https://foss.heptapod.net/pypy/benchmarks/-/blob/branch/default/unladen_swallow/performance/bm_django.py#L34</a><br>
<br>
[1] <a href="https://lincolnloop.com/blog/faster-django-sites-pypy/" rel="noreferrer" target="_blank">https://lincolnloop.com/blog/faster-django-sites-pypy/</a><br>
<br>
_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org" target="_blank">pypy-dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/pypy-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/pypy-dev</a><br>
</blockquote></div>