web-frameworks icon indicating copy to clipboard operation
web-frameworks copied to clipboard

[python] Add socketify.py

Open lucascompython opened this issue 9 months ago • 6 comments

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

lucascompython avatar Mar 19 '25 10:03 lucascompython

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

waghanza avatar Mar 21 '25 17:03 waghanza

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

cirospaciari avatar Mar 24 '25 20:03 cirospaciari

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

lucascompython avatar Mar 25 '25 08:03 lucascompython

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?

lucascompython avatar Apr 10 '25 14:04 lucascompython

@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)

cirospaciari avatar Apr 10 '25 17:04 cirospaciari

@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)

waghanza avatar Apr 11 '25 14:04 waghanza