1 stable release

Uses old Rust 2015

1.1.0 Sep 25, 2018

#377 in Profiling

Download history 9/week @ 2024-11-16 16/week @ 2024-11-23 15/week @ 2024-11-30 63/week @ 2024-12-07 33/week @ 2024-12-14 33/week @ 2024-12-21 10/week @ 2024-12-28 24/week @ 2025-01-04 37/week @ 2025-01-11 28/week @ 2025-01-18 24/week @ 2025-01-25 45/week @ 2025-02-01 41/week @ 2025-02-08 30/week @ 2025-02-15 41/week @ 2025-02-22 37/week @ 2025-03-01

159 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