-
-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Datasette Docker to Python 3.11 #1853
Comments
I ran a very crude benchmark on my laptop using Locust (against the official macOS packages from www.python.org for Python 3.10 and Python 3.11) and saw a substantial speed increase: 533.89 requests/second on 3.11 That was from running Locust against this from locust import HttpUser, task
class CounterOne(HttpUser):
@task
def hello(self):
self.client.get("/-/static/app.css") Using:
|
Ran the upgrade on the Datasette Cloud image first, works fine there. https://simon.datasette.cloud/-/versions shows me:
|
Also tested by running this locally:
https://issue-1853-j7hipcg4aq-uc.a.run.app/-/versions now shows Python 3.11.0. |
And tested
Then:
And tested it like this:
Output:
|
This broke the deploy of
I started using that for the Those were added in SQLite 3.31.0 - and the SQLite version in the new base image is 3.34.1 - so I don't actually need |
https://latest.datasette.io/-/versions now shows 3.11. |
Opened an issue here: |
Related:
I think this base image looks right: 3.11.0-slim-bullseye
The text was updated successfully, but these errors were encountered: