Skip to content
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

Web framework benchmark #1

Closed
waghanza opened this issue Apr 29, 2020 · 3 comments
Closed

Web framework benchmark #1

waghanza opened this issue Apr 29, 2020 · 3 comments

Comments

@waghanza
Copy link

Hi @Ethosa ,

Do you want to add akane in https://github.com/the-benchmarker/web-frameworks ?

The purpose of this benchmark is to compare frameworks on a simple (an homogeneous) way.

We have already :

  • jester
  • httpbeast

Wdyt ?

Regards,

@Ethosa
Copy link
Owner

Ethosa commented Jun 1, 2020

Yes, it would be nice. Sorry to notice this issue just now.

@waghanza
Copy link
Author

waghanza commented Jun 4, 2020

I've tried to do it myself, but I have compilation errors. Do you have time to give a try ?

The features are very few, 3 routes :

  • GET /, SHOULD return a successful status code and an empty string
  • GET /user/:id, SHOULD return a successful status code and the id
  • POST /user, SHOULD return a successful status code and an empty string

@Ethosa
Copy link
Owner

Ethosa commented Jun 4, 2020

hmm ... it should be something like that? https://github.com/Ethosa/akane/blob/master/tests/test8/main.nim
image
image

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

2 participants