Skip to content

Commit

Permalink
add the benchmarker link in readme and book
Browse files Browse the repository at this point in the history
Closes #398
  • Loading branch information
GlenDC committed Jan 26, 2025
1 parent 3ddbda2 commit 9b5ee83
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,21 @@ let info: Info = client
.unwrap();
```
## 💪 | Performance
`rama`'s default http implementation is forked from [`hyper`] and adds very little
overhead. So `rama`'s performance is comparable to [`hyper`] and frameworks that built on top of that.
[`hyper`]: https://github.com/hyperium/hyper
Here's a list of external benchmarks:
- http server benchmark @ <https://web-frameworks-benchmark.netlify.app/result>
Please [open an issue](https://github.com/plabayo/rama/issues) or Pull Request (PR) in case
you are aware of any other benchmarks of interest in regards to http(s) servers,
http(s) clients or proxies such as Man-In-The-Middle (MITM) proxies.
## ⛨ | Safety
The rama crates avoid `unsafe_code`, but do make use of it for some low level primitives (e.g. http core)
Expand Down
15 changes: 15 additions & 0 deletions docs/book/src/crate.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ Examples to help you get started can be found in
[the examples found in the `/examples` dir](https://github.com/plabayo/rama/tree/main/examples)
to know how to use rama for your purposes.

## 💪 | Performance

`rama`'s default http implementation is forked from [`hyper`] and adds very little
overhead. So `rama`'s performance is comparable to [`hyper`] and frameworks that built on top of that.

[`hyper`]: https://github.com/hyperium/hyper

Here's a list of external benchmarks:

- http server benchmark @ <https://web-frameworks-benchmark.netlify.app/result>

Please [open an issue](https://github.com/plabayo/rama/issues) or Pull Request (PR) in case
you are aware of any other benchmarks of interest in regards to http(s) servers,
http(s) clients or proxies such as Man-In-The-Middle (MITM) proxies.

## ⛨ | Safety

The rama crates avoid `unsafe_code`, but do make use of it for some low level primitives (e.g. http core)
Expand Down

0 comments on commit 9b5ee83

Please sign in to comment.