1 stable release

Uses old Rust 2015

1.1.0 Sep 25, 2018

#371 in Profiling

Download history 216/week @ 2024-07-22 124/week @ 2024-07-29 99/week @ 2024-08-05 69/week @ 2024-08-12 88/week @ 2024-08-19 2/week @ 2024-08-26 12/week @ 2024-09-02 15/week @ 2024-09-09 4/week @ 2024-09-16 149/week @ 2024-09-23 39/week @ 2024-09-30 10/week @ 2024-10-07 38/week @ 2024-10-14 24/week @ 2024-10-21 14/week @ 2024-10-28 28/week @ 2024-11-04

104 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

~49KB