Crates.io | flamescope |
lib.rs | flamescope |
version | 0.1.3 |
source | src |
created_at | 2019-07-10 03:58:08.88207 |
updated_at | 2024-08-29 19:23:05.932745 |
description | Export flame data to speedscopes profile format |
homepage | |
repository | https://github.com/coolreader18/flamescope |
max_upload_size | |
id | 148003 |
size | 11,366 |
Export flame data to speedscope's format.
use flame;
use flamescope;
use std::fs::File;
fn main() {
let main_guard = flame::start_guard("main");
{
let _scope_guard = flame::start_guard("inner scope");
}
main_guard.end();
flamescope::dump(&mut File::create("flamescope.json").unwrap()).unwrap();
}
This project is licensed under the MIT license. Please see the LICENSE file for more details.