guteksan / REST-CPP-benchmark

MIT License
131 stars 16 forks source link

Other SDK to test #1

Open xamix opened 4 years ago

xamix commented 4 years ago

Hello,

Very interresting job, thank you!

I wonder if adding some other library to the test will be doable:

1) BeastHTTP -> Only need boost to compile 2) Simple-Web-Server -> Only need boost to compile

markg85 commented 4 years ago

I hope you could consider adding https://github.com/uNetworking/uWebSockets to the mix. They claim to be extremely fast https://github.com/uNetworking/uWebSockets/tree/master/benchmarks

guteksan commented 4 years ago

Hello guys, To be honest, I am not planning to extend this benchmark with other SDKs. I had a specific task to do: to pick the best CPP REST framework for my purpose and move along, which I did, but before that I just wanted to share my findings with everyone. If you however create a basic-xxx cmake project for the SDK of your interest in a similar way I did, I may consider adding it to this repo, run tests on the same machine and update the benchmark with the results.

mbnoimi commented 4 years ago

Hello guys, To be honest, I am not planning to extend this benchmark with other SDKs. I had a specific task to do: to pick the best CPP REST framework for my purpose and move along, which I did, but before that I just wanted to share my findings with everyone. If you however create a basic-xxx cmake project for the SDK of your interest in a similar way I did, I may consider adding it to this repo, run tests on the same machine and update the benchmark with the results.

I wanted to ask for testing drogon but when I read your comment stopped. Just for curiosity which SDK chose?

guteksan commented 4 years ago

I chose crow, but please remember that this was best suited for my purpose and my "programming ecosystem", so others may find other framework better for their use.

Testing frameworks could be a neverending story, as there are lots of them, but it doesn't really bring much value. Choosing from 100 options is not really much better than choosing from 6 most popular ones. I repeat: if someone is interested how a particular framework compares to these 6, they can use my basic projects, build similar for the framework of their choice and test it in their ecosystem.