Persil is a minimal and simple library for profiling events.
It's based on rust's measureme and
is just a simple, but powerful layer ontop of measureme
.
Add this to your Cargo.toml
[dependencies]
persil = "0.1.0"
If you have cargo-edit installed
cargo add persil
See examples for usage.
Analyze the results
To analye and display the results, you can use one of the tools in the measureme repo.
For example to use summarize
, just do:
```sh
summarize trace/my_application ```
For more information checkout the measureme repository.