jlfwong / jlfwong/speedscope

Perf importer doesn't handle big-little systems

Open
#554 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.8k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

Whenever a perf profile contains samples from multiple kinds of cpu cores (cpu_core and cpu_atom in the case of my system), only samples for the first kind of cpu core will be picked. Given that most programs start on the little cores and then quickly migrate to the big cores, this causes almost all samples to be ignored by speedscope. In my case only the first three samples (750us total) were shown by speedscope, while everything else (20s+) was ignored.

Contributor guide

Open the contributing guide

Research direction

Start by locating the perf importer and reproduce the issue with a profile containing samples from both cpu_core and cpu_atom cores. Trace how the importer selects core types; done means samples from all core kinds are shown by speedscope instead of only the first kind.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.