1 stable release

Uses old Rust 2015

1.1.0 Sep 25, 2018

#322 in Profiling

Download history 6/week @ 2023-12-14 3/week @ 2023-12-21 3/week @ 2023-12-28 90/week @ 2024-01-04 211/week @ 2024-01-11 227/week @ 2024-01-18 169/week @ 2024-01-25 197/week @ 2024-02-01 36/week @ 2024-02-08 181/week @ 2024-02-15 51/week @ 2024-02-22 30/week @ 2024-02-29 30/week @ 2024-03-07 22/week @ 2024-03-14 32/week @ 2024-03-21 58/week @ 2024-03-28

145 downloads per month

MIT license

7KB
81 lines

callgrind

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);
}

Licensing

The license for this project is MIT.


lib.rs:

#callgrind

This is a rust library.

Dependencies

~48KB