1 stable release

Uses old Rust 2015

1.1.0 Sep 25, 2018

#373 in Profiling

Download history 15/week @ 2024-10-06 36/week @ 2024-10-13 25/week @ 2024-10-20 14/week @ 2024-10-27 28/week @ 2024-11-03 1/week @ 2024-11-10 10/week @ 2024-11-17 18/week @ 2024-11-24 13/week @ 2024-12-01 69/week @ 2024-12-08 27/week @ 2024-12-15 32/week @ 2024-12-22 10/week @ 2024-12-29 29/week @ 2025-01-05 32/week @ 2025-01-12 29/week @ 2025-01-19

100 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