Re: [pypy-dev] Some web benchmarks

2021-01-26 Thread Carl Friedrich Bolz-Tereick

On 1/26/21 8:00 PM, Oliver Margetts wrote:

Thanks! Not sure how I missed the Django templating one - probably my
unconscious Flask bias ;)


There are also two sqlalchemy benchmarks, where are actually a bit
slower than CPython. I don't know exactly what they measure though.
Maybe an end to end test of some form would be an interesting addition?

Cheers,

CF
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev


Re: [pypy-dev] Some web benchmarks

2021-01-26 Thread Oliver Margetts
Thanks! Not sure how I missed the Django templating one - probably my
unconscious Flask bias ;)

On Tue, 26 Jan 2021 at 17:57, Matti Picus  wrote:

> On 1/26/21 7:07 PM, Oliver Margetts wrote:
>
> > Hello all,
> >
> > not sure where to post this, so I'll put it here. We recently wrote a
> > blog post where we benchmarked some python web frameworks:
> > https://suade.org/dev/12-requests-per-second-with-python/
> >
> > One of the big conclusions was: if you want faster code, use pypy! I
> > was pleasantly surprised as I was under the impression that web wasn't
> > pypy's strongest area (I'm not sure where from). I wondered if you
> > would consider adding something as simple as a "Hello, World"
> > benchmark to speed.pypy.org ?
> >
> > Aside from that, thanks for all of your efforts on making pypy fast!
> >
>
> Thanks!. I liked the post. We have a simple django benchmark in the
> suite which shows PyPy to be about 4x faster for templating[0], I don't
> think it actually sets up for answering requests. There is a need for
> more complete site benchmarking like in your post.
>
>
> You may be interested in a deep dive[1] into profiling one django app
> with PyPy.
>
>
> Matti
>
>
> [0]
>
> https://foss.heptapod.net/pypy/benchmarks/-/blob/branch/default/unladen_swallow/performance/bm_django.py#L34
>
> [1] https://lincolnloop.com/blog/faster-django-sites-pypy/
>
> ___
> pypy-dev mailing list
> pypy-dev@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev


Re: [pypy-dev] Some web benchmarks

2021-01-26 Thread Matti Picus

On 1/26/21 7:07 PM, Oliver Margetts wrote:


Hello all,

not sure where to post this, so I'll put it here. We recently wrote a 
blog post where we benchmarked some python web frameworks: 
https://suade.org/dev/12-requests-per-second-with-python/


One of the big conclusions was: if you want faster code, use pypy! I 
was pleasantly surprised as I was under the impression that web wasn't 
pypy's strongest area (I'm not sure where from). I wondered if you 
would consider adding something as simple as a "Hello, World" 
benchmark to speed.pypy.org ?


Aside from that, thanks for all of your efforts on making pypy fast!



Thanks!. I liked the post. We have a simple django benchmark in the 
suite which shows PyPy to be about 4x faster for templating[0], I don't 
think it actually sets up for answering requests. There is a need for 
more complete site benchmarking like in your post.



You may be interested in a deep dive[1] into profiling one django app 
with PyPy.



Matti


[0] 
https://foss.heptapod.net/pypy/benchmarks/-/blob/branch/default/unladen_swallow/performance/bm_django.py#L34


[1] https://lincolnloop.com/blog/faster-django-sites-pypy/

___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev


[pypy-dev] Some web benchmarks

2021-01-26 Thread Oliver Margetts
Hello all,

not sure where to post this, so I'll put it here. We recently wrote a blog
post where we benchmarked some python web frameworks:
https://suade.org/dev/12-requests-per-second-with-python/

One of the big conclusions was: if you want faster code, use pypy! I was
pleasantly surprised as I was under the impression that web wasn't pypy's
strongest area (I'm not sure where from). I wondered if you would consider
adding something as simple as a "Hello, World" benchmark to speed.pypy.org?

Aside from that, thanks for all of your efforts on making pypy fast!
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev