1 stable release

Uses old Rust 2015

1.1.0 Sep 25, 2018

#423 in Profiling

Download history 35/week @ 2024-12-20 5/week @ 2024-12-27 26/week @ 2025-01-03 34/week @ 2025-01-10 28/week @ 2025-01-17 22/week @ 2025-01-24 43/week @ 2025-01-31 47/week @ 2025-02-07 30/week @ 2025-02-14 41/week @ 2025-02-21 44/week @ 2025-02-28 35/week @ 2025-03-07 64/week @ 2025-03-14 27/week @ 2025-03-21 20/week @ 2025-03-28 20/week @ 2025-04-04

136 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.

Dependencies

~48KB