Skip to content

Commit

Permalink
docs: update comments to benchmarks
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Di Donato <[email protected]>
  • Loading branch information
leodido committed May 20, 2024
1 parent 01eda66 commit 4b7874e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ On my machine<sup>[1](#mymachine)</sup> these are the results obtained paring RF

As you can see it takes:

* ~250ns to parse the smallest legal message
* ~125ns to parse the smallest legal message

* less than 2µs to parse an average legal message
* less than 1µs to parse an average legal message

* ~3µs to parse a very long legal message
* ~2µs to parse a very long legal message

Other RFC5424 implementations, like this [one](https://github.com/roguelazer/rust-syslog-rfc5424) in Rust, spend 8µs to parse an average legal message.

Expand Down

0 comments on commit 4b7874e

Please sign in to comment.