Crates.io | persil |
lib.rs | persil |
version | 0.1.3 |
source | src |
created_at | 2020-08-17 00:18:49.985146 |
updated_at | 2020-08-19 02:08:51.305355 |
description | Persil is a minimal and simple profiling library based on measureme. |
homepage | https://github.com/Stupremee/persil |
repository | https://github.com/Stupremee/persil |
max_upload_size | |
id | 277387 |
size | 17,230 |
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:
# if you changed the path to the results, use the new path
summarize trace/my_application
For more information checkout the measureme repository.