Giter Club home page Giter Club logo

Comments (4)

remittor avatar remittor commented on June 23, 2024

checking global scope is slow on CPython (but acceptable on PyPy).
socketify WSGI on CPython: Before: 433,316 After: 356,027

I think that the drop in speed is not caused by the addition of the common function add_ext_headers.
It is very likely that the drop in speed caused the downgrade of CPython to version 3.9 (previously used version 3.10).

Speeds for Falcon+FastWSGI: before: 497,777 after: 496,506

from frameworkbenchmarks.

cirospaciari avatar cirospaciari commented on June 23, 2024

For socketify CPython can run on 3.11 the latest version (with includes a lot of performance improvements) I think all servers can run on 3.11. ( and soon 3.12)

"Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite. See Faster CPython for details."

https://docs.python.org/3/whatsnew/3.11.html

PyPy latest is 3.9:

https://www.pypy.org/posts/2022/12/pypy-v7311-release.html

I would upgrade all to latest version and also remove the global lookup + the extra functions calls.

https://wiki.python.org/moin/PythonSpeed/PerformanceTips

Socketify is not a C extension (we use CFFI) so running in the latest CPython is crucial and more realistic, bleeding edge frameworks should use the most recent releases.

from frameworkbenchmarks.

remittor avatar remittor commented on June 23, 2024

I think all servers can run on 3.11. ( and soon 3.12)

I don't mind at all. I just thought that there would be compatibility issues with some modules.
So I suggest you do the following:

  1. Convert all falcon tests to python 3.10...3.11.
  2. Fix django (since you yourself promised to do it)
  3. Help to understand the reason for not started flask + uwsgi (everything works on CI)
  4. Help to understand the reason for not working flask test update (everything works on CI)

from frameworkbenchmarks.

cirospaciari avatar cirospaciari commented on June 23, 2024

Agreed, unfortunately, I'm working a lot in my current job, and spending my little free time with my family, soon I should be able to have more time to work on this

from frameworkbenchmarks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.