Comments (4)
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.
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.
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:
- Convert all
falcon
tests to python 3.10...3.11. - Fix
django
(since you yourself promised to do it) - Help to understand the reason for not started
flask
+uwsgi
(everything works on CI) - Help to understand the reason for not working
flask
testupdate
(everything works on CI)
from frameworkbenchmarks.
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)
- Having some problems trying to run tests locally. HOT 1
- Unintended Deletion of Other Containers During Benchmarking: Normal or Error ? HOT 2
- List of 50 longest TFB tests HOT 6
- Issues with the benchmarking instructions on the Wiki HOT 1
- It is required to finally determine the value of the parameter net.core.somaxconn HOT 18
- General Q: Why enterprise level project use Spring Boot when it have low performance?
- A lot of repeated json and plaintext tests HOT 15
- Run framework tests only if there are fresh changes in the repository HOT 11
- Frameworks fail because use Debian Stretch EOL HOT 5
- vm.max_map_count OS limit HOT 6
- Shouldn't pre-computed HTTP headers trigger "Stripped" classification? HOT 7
- Scratch docker permutations
- Python django workload failed after updating the latest version to 4.2.1 HOT 1
- Python 2 EOL in Github Actions. HOT 2
- How to submit your own framework HOT 1
- Using http pipelining HOT 3
- New Citrine Setup Shows Lower Numbers HOT 34
- No longer accepting plaintext only frameworks / Limited number of tests mutations HOT 12
- All frameworks based on Node.js must be tested on the same docker image. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frameworkbenchmarks.