Skip to content

[python] Add socketify.py #8294

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

Open
lucascompython opened this issue Mar 19, 2025 · 6 comments
Open

[python] Add socketify.py #8294

lucascompython opened this issue Mar 19, 2025 · 6 comments

Comments

@lucascompython
Copy link
Contributor

socketify.py is the second-highest ranking python framework on the TechEmpower benchmarks.
I think it could be interesting adding it here.

@waghanza
Copy link
Collaborator

if @cirospaciari is not opposed to, you can create a PR @lucascompython

@cirospaciari
Copy link

Not opposed to, actually would be happy :D thank @waghanza to tag me

@lucascompython
Copy link
Contributor Author

Nice! I'll definitely create a PR when I got the time.

@lucascompython
Copy link
Contributor Author

Socketify can use Pypy for better performance, but the Dockerfile for the current python frameworks pulls a python image, should I create "another language" for pypy?

@cirospaciari
Copy link

@lucascompython https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Python/socketify.py
take a look in how I setup the docker files dont use "the framework image" use the python and pypy image, dont use alpine either, add with both PyPy and CPython aka Python (is fair to add both or add a PyPy category)

@waghanza
Copy link
Collaborator

@lucascompython

should I create "another language" for pypy?

yes, but maybe I will do it

Could you make a PR only with socketify implementation ?

I'll push into it to make sure socketify use pypy

@cirospaciari the ui could not show the results for both cpython and pypy (unless you have two directories, one for cpython and one for pypy, feature planned tho)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants