-
Couldn't load subscription status.
- Fork 172
Open
Description
Consider simple Rust program calculating fibonacci number:
fn main() {
println!("{}", fibonacci(42));
}
fn fibonacci(n: u32) -> u32 {
match n {
0 => 0,
1 => 1,
_ => fibonacci(n - 1) + fibonacci(n - 2),
}
}Here is result of cargo flamegraph:
Approximately half of the fibonacci calls have correct stacktrace, however other half doesn't have stacktrace
Metadata
Metadata
Assignees
Labels
No labels
