jlfwong / jlfwong/speedscope

Support trailing whitespace & floating point values with Brendan Gregg collapsed stack format

Open
#157 1 comment 0 reactions 0 assignees View on GitHub
feature request help wanted
Dominant language
TypeScript
Stars
6.8k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

So I have some custom tool that generates data in a output similar to Brendan Gregg's stack format, that works with flamegraph.pl, but is throwing issues with my custom file.

I found there were a few different issues in my file:
- a trailing newline in the file causing an error
- my values weren't integers
- some of my values were negative

Not sure if we could raise a better error message, for those?

Maybe it'd also be useful mentioning that in the docs, I am happy to make a PR, if there is a way to do that in docs?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.