Comments (1)
WSGIHandler
is callable directly... which is what the WSGI server, such as gunicorn does, so we should be able to provide an environment
dictionary, and a start_reponse
callable and just pass those, without needing to run the full web server...
Look in django/django
tests/handlers/tests.py
for examples doing just this. https://github.com/django/django/blob/main/tests/handlers/tests.py
See also the WSGI spec: https://peps.python.org/pep-3333/#specification-details
We should then be able to do similar with ASGI, and with testing different changes (to signal dispatch for example).
Good stuff! 👍
from django-asv.
Related Issues (14)
- django branch master renamed to main, needs to be accomodated HOT 7
- Add ci
- Expand README. HOT 13
- Benchmark migration progress update
- Slow workflow; cache Django? HOT 1
- Build up history for new benchmarks HOT 3
- Migrating benchmarks from djangobench which use run_comparison_benchmark HOT 1
- Repeatable benchmarks
- Workflow failure
- Azure pipelines setup HOT 17
- Moving repo to django org HOT 8
- Add LimitedStream benchmark HOT 3
- Prevent `RuntimeWarning`s about naive datetimes
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 django-asv.