-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON output format #48
Comments
Sure, I'll add it later. |
By the way, what kind of output do you prefer? As is: [
{
"File": "0.4%",
".text": "5.6%",
"Size": "8.8KiB",
"Crate": "[Unknown]",
"Name": "read_line_info"
},
{
"File": "0.3%",
".text": "4.4%",
"Size": "6.8KiB",
"Crate": "std",
"Name": "__rdos_backtrace_dwarf_add"
}
] or more low-level: {
"file-size": 2527192,
"text-section-size": 160154,
"functions": [
{
"name": "read_line_info",
"size": 9012
},
{
"crate": "std",
"name": "__rdos_backtrace_dwarf_add",
"size": 6964
}
]
} |
I think the second variant would be more useful. |
Thanks! |
Feel free to report any issues. |
Will do. I'm working on a "cargo dashbaord" UI that ties together all the analysis tools in a nice interface, so I'll complain if I find any issues. ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd love to leverage the output of cargo-bloat in a development dashboard.
For this a
json
output format would be greatly appreciated.The text was updated successfully, but these errors were encountered: