microsoft / microsoft/PixEvents
PIX should offer psuedo-coloring api like Pefetto
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 104
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Perfetto has no option to specify colors, but instead hashes the name into reasonable colors to differentiate blocks. The Pix API should offer something similar. Since there is none, most pass a constant color to each Begin/EndEvent. "Wait" could also be special cased to highlight in red.
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 with the Pix API entry points that emit BeginEvent and EndEvent, and compare the linked Perfetto ui/src/components/colorizer.ts implementation. Determine how pseudocoloring and the special red treatment for "Wait" should be exposed, then use the repository's decoder and tests to verify the resulting event colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100