the-benchmarker / web-frameworks

Which is the fastest web framework?
MIT License
6.98k stars 667 forks source link

[Dart] Add more frameworks #7284

Open cyrusmsk opened 7 months ago

cyrusmsk commented 7 months ago

It seems Dart is having some well-prepared frameworks. Will be interesting to see their comparison

https://spry.fun/ https://serverpod.dev/ https://dartfrog.vgv.dev/ https://www.theconduit.dev/ https://angel3-framework.web.app/#/about

waghanza commented 7 months ago

Hi @cyrusmsk ,

spry is already listed.

Be my guest for the other ;-)

cyrusmsk commented 7 months ago

Hi, Unfortunately I don't know Dart, just recently found it has many solutions for backend development I think Dart community should be more interested

medz commented 7 months ago

With the exception of Shelf and Spry, other current frameworks have their own CLIs that do specific things to run. There is no way to simply write a file that will satisfy the benchmark requirements.

I'm not quite sure if setting unique commands in a single framework app construct for a single language in web-frameworks. Because the dockerfile is generic, setting up separate commands for individual frameworks can be cumbersome.

waghanza commented 7 months ago

Not sure I understand @medz. We can override command on the docker file

medz commented 7 months ago

We can override command on the docker file

This is great, but I don't know how to implement it.

For example, Dart Frog requires dart_frog build to be run before compilation instead of dart compile common to Dart projects. Other frames also have a lot of front-facing unique brightness.

In addition, I personally think that Dart Frog has nothing to add to the benchmark, because it is built on top of shelf, and its results will not be better than shelf.

waghanza commented 7 months ago

Even if dart frog could be like syntaxic suger on top of shelf, I think it is accurate to have it here.

I understand that it can not perform better, but perhaps the way to write dart frog based app could be appreciated by some folks.

medz commented 1 month ago

@waghanza Can you guide me on how to override commands, or implement more commands in different frameworks under a single language? I would like to add more Dart frameworks to the comparison for this project. 💗

waghanza commented 1 month ago

Sure, please start some PR with those frameworks, the idea is to mimic the endpoint of an existing implementation.

I'll add config files... We are actually changing the scenarios to have a more meaningful version of this project

PS : Please do not use master branch, so as I can push 😀