microsoft / microsoft/perfview
Enable PerfView To Export SpeedScope Data Not Per Thread But All Threads Aggregated
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.7k
- Forks
- 775
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 9
Description
I have whipped together a small change to export SpeedScope Data not thread wise but as an aggregate.
That makes it much easier to find CPU bottlenecks which happen in the same methods split accross many threads.
Currently the Speedscope output is not that useful if you have many threads in your application.
- You loose then the timeline view which is not that useful anyway if you can check only one thread at a time.
- Left Heavy and Sandwich work as expected
For the export menu we would then need an additional option or should that become the new default?
- Speed Scope (*.speedscope.json)
- Speed Scope All Threads (*.speedscope.json)
Any opinions?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating PerfView's SpeedScope export entry point and the export menu described in the issue, then compare how per-thread data is currently produced. Confirm the desired aggregate behavior and whether it should be a separate menu option or the default; done means the chosen export produces valid aggregated SpeedScope data while the existing option remains correct if retained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100