persil

Crates.iopersil
lib.rspersil
version0.1.3
sourcesrc
created_at2020-08-17 00:18:49.985146
updated_at2020-08-19 02:08:51.305355
descriptionPersil is a minimal and simple profiling library based on measureme.
homepagehttps://github.com/Stupremee/persil
repositoryhttps://github.com/Stupremee/persil
max_upload_size
id277387
size17,230
Justus K (Stupremee)

documentation

https://docs.rs/persil

README

Persil

Docs.rs Crates.io

Table of Contents

About

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.

Getting Started

Prerequisites

  • Rust (I don't have any minimun required rust version, just try one of the latest)
  • Tools for reading the serialized data. (See here)
  • Obviously an application that you want to profile.

Installing

Add this to your Cargo.toml

[dependencies]
persil = "0.1.0"

If you have cargo-edit installed

cargo add persil

Usage

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.

Commit count: 28

cargo fmt