Skip to content

Complementary crate to valgrind_request to gather statistics and profile calls

License

Notifications You must be signed in to change notification settings

lemonrock/callgrind

Repository files navigation

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.

About

Complementary crate to valgrind_request to gather statistics and profile calls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages