Crates.io | callgrind |
lib.rs | callgrind |
version | 1.1.0 |
source | src |
created_at | 2018-09-25 08:52:43.286665 |
updated_at | 2018-09-25 08:52:43.286665 |
description | callgrind |
homepage | https://github.com/lemonrock/callgrind |
repository | https://github.com/lemonrock/callgrind.git |
max_upload_size | |
id | 86442 |
size | 11,019 |
callgrind is a Rust crate intended to complement the valgrind_request crate. It is intended to be used during testing to gather instrumentation and statistics to allow examination of performance bottlenecks.
To use it:-
extern crate callgrind;
use ::callgrind::CallgrindClientRequest;
#[test]
fn some_test()
{
CallgrindClientRequest::start();
// Execute some code to gather statistics on.
...
CallgrindClientRequest::stop(None);
}
The license for this project is MIT.