tokio-rs / tokio-minihttp

Protocol implementation experimentations
Apache License 2.0
448 stars 50 forks source link

Request: Techempower benchmarks #9

Open mooman219 opened 8 years ago

mooman219 commented 8 years ago

I've seen a bit of data from @alexcrichton 's blog suggesting the minihttp framework built on top of tokio performs extremely well while sporting a fairly ergonomic design. Unfortunately a couple of the links are dead and the current benchmarks on the page don't have any other frameworks for comparison.

Would the possibility of pushing a benchmark to the techempower benchmarks be something that you guys could do? These benchmarks get a fair amount of traffic and promising results would increase visibility to the tokio project. It would help validate any performance claims that're being made about the project as well.

Right now, in preliminary results, rust isn't fairing too well across the board.

Techempower's github

alexcrichton commented 8 years ago

We'd love to submit some benchmarks! We're working hard on getting the tokio-proto crate to 0.1 status which would likely be followed up with this crate itself being published to crates.io as well. As part of that we also plan on doing a perf pass to ensure that everything is performing as it was before as well.

Stay tuned and we should have an update shortly!

alexcrichton commented 8 years ago

Alright I've updated all the code now to the hopefully upcoming 0.1 release, so soon we should be able to publish to crates.io and send a PR!

mooman219 commented 8 years ago

This looks fantastic! Thanks for updating everything.

kirillkh commented 7 years ago

tokio-minihttp fairs well in the plaintext benchmark now (#2 in round 15 preview), but what about JSON?