MCPcopy Index your code
hub / github.com/coolreader18/flamescope

github.com/coolreader18/flamescope @v0.1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.3 ↗ · + Follow
13 symbols 18 edges 3 files 3 documented · 23%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Core symbols most depended-on inside this repo

spans_to_speedscope
called by 2
src/lib.rs
span_extend_events
called by 1
src/lib.rs
write_spans
called by 1
src/lib.rs
dump
called by 0
src/lib.rs
new
called by 0
src/model.rs

Shape

Function 5
Class 4
Enum 3
Method 1

Languages

Rust100%

Modules by API surface

src/model.rs8 symbols
src/lib.rs4 symbols
tests/snapshot.rs1 symbols

For agents

$ claude mcp add flamescope \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact