GitHub - coolreader18/flamescope: Export flame data to speedscope's format

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Export flame data to speedscope's format

License

MIT license

47 stars 3 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

9 Commits

Repository files navigation

flamescope

Export flame data to speedscope's format.

Usage

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();
}

License

This project is licensed under the MIT license. Please see the LICENSE file for more details.

About

Export flame data to speedscope's format

Topics

Resources

Readme

License

MIT license

Activity

Stars

47 stars

Watchers

0 watching

Forks

3 forks

Packages

No packages published

Languages