Robyn icon indicating copy to clipboard operation
Robyn copied to clipboard

Benchmark code source

Open Kludex opened this issue 4 years ago • 9 comments

Hi @sansyrox :wave:

Just found your project today. :)

Do you perhaps have the source code you used for the benchmark? It would be cool to have that reference on the https://sansyrox.github.io/robyn/#/comparison page.

Kludex avatar Dec 11 '21 11:12 Kludex

Hi @Kludex ,

Firstly, welcome here :D

Yes, that's a great idea. I will add it on the comparison page itself.

Also, if you don't mind me asking how did you find the project? 😅

sansyrox avatar Dec 11 '21 15:12 sansyrox

Well... I was talking to a person in a bar, and the person told me about a project that was implementing an ASGI server in Rust and binding it to Python. The name of the project was not mentioned, so I'm not sure if I found the right one (as ASGI is not supported yet) hahaha

Kludex avatar Dec 11 '21 15:12 Kludex

I was talking to a person in a bar, and the person told me about a project that was implementing an ASGI server in Rust and binding it to Python.

Wow. This is definitely the first time.

But maybe you came looking for copper but struck gold? xD (J.K.)

Thanks for your contributions and suggestions tho :D

sansyrox avatar Dec 11 '21 15:12 sansyrox

Without the benchmark code source, it's really hard to believe on those numbers.

Kludex avatar Jun 27 '22 05:06 Kludex

@Kludex , here is the benchmark repo I use: https://github.com/sansyrox/robyn-comparrison-benchmarks

sansyrox avatar Jun 27 '22 19:06 sansyrox

The stats in the readme are a little old. But the methods I use to benchmark are the same.

sansyrox avatar Jun 27 '22 19:06 sansyrox

would love to see comparisons with blacksheep as well.

https://github.com/Neoteroi/BlackSheep/

crypt0miester avatar Jul 22 '22 21:07 crypt0miester

Thanks @crypt0miester .

Would it be possible for you to add a hello world example here?

https://github.com/sansyrox/robyn-comparrison-benchmarks

sansyrox avatar Jul 24 '22 02:07 sansyrox

Thanks @crypt0miester .

Would it be possible for you to add a hello world example here?

https://github.com/sansyrox/robyn-comparrison-benchmarks

interesting, I got 40% of robyn. I couldn't add due to not enough time. will add it when I have some free time.

cheers. and good luck mate.

crypt0miester avatar Jul 24 '22 06:07 crypt0miester