1 个稳定版本
使用旧的 Rust 2015
1.1.0 | 2018 年 9 月 25 日 |
---|
#322 在 性能分析
145 每月下载量
7KB
81 代码行
callgrind
callgrind 是一个旨在补充 valgrind_request Crates 的 Rust Crates。它旨在测试期间收集仪表和统计数据,以便检查性能瓶颈。
要使用它:-
extern crate callgrind;
use ::callgrind::CallgrindClientRequest;
#[test]
fn some_test()
{
CallgrindClientRequest::start();
// Execute some code to gather statistics on.
...
CallgrindClientRequest::stop(None);
}
许可证
本项目的许可证为 MIT。
lib.rs
:
#callgrind
这是一个 Rust 库。
依赖项
~48KB