I found that you have a threads() function, from which I can get a Vec<Span> for each thread. But Span only has a function to write to json, not html. How can I get HTML output from different threads? Or alternatively, what can I do with a JSON file to display the flame graph?
I found that you have a
threads()
function, from which I can get aVec<Span>
for each thread. ButSpan
only has a function to write to json, not html. How can I get HTML output from different threads? Or alternatively, what can I do with a JSON file to display the flame graph?