REST-CPP-benchmark icon indicating copy to clipboard operation
REST-CPP-benchmark copied to clipboard

Other SDK to test

Open xamix opened this issue 4 years ago • 4 comments

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

xamix avatar May 29 '20 17:05 xamix

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

markg85 avatar Jun 04 '20 12:06 markg85

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.

guteksan avatar Jun 04 '20 13:06 guteksan

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?

mbnoimi avatar Jun 16 '20 07:06 mbnoimi

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.

guteksan avatar Jun 18 '20 09:06 guteksan