Proposal: `compare` command for two traces
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 15/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- cli, performance
Direção de pesquisa
This is a design proposal, not a ready change: the open questions on noise, the compare vs diff naming, and whether the command belongs in the CLI at all are unresolved. Before writing code, read the existing diff command and its aggregation of self time, plus the overview output it would reuse. Done means the maintainers have settled scope and naming, and a first version comparing one pair of traces is agreed on.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Follow-up to #9.
Use case
Check the impact of a change: record a trace on main and another on a PR branch, and see what changed. Today you run overview and other commands on both traces and compare the output by hand, or ask an agent to do it, which costs tokens and is easy to get wrong.
Sketch
trace-engine-cli compare baseline.json.gz candidate.json.gz
The output would include:
- Core Web Vitals per metric: baseline, candidate, delta and rating change (for example
good → needs-improvement). - Main thread busy time (total minus idle) per category. Idle is left out because two recordings rarely have the same length.
- Long task count and blocking time (sum of
dur - 50ms), namedblockingMsso it is not confused with Lighthouse TBT. - Top function regressions by self time, reusing the aggregation in
diff. - A warning if the main URLs differ.
Open questions
- Noise: one trace per side gives noisy CWV deltas. A first version could compare a single pair and focus on rating changes. A later version could accept several traces per side and compare medians.
- Naming:
diffcompares two windows in one trace, andcomparewould compare two traces. The names could be confusing. - Scope: does this belong in this CLI, or is it better left to the agent (run
overviewon both traces and compare)?
What are your main concerns about it?
- Linguagem predominante
- TypeScript
- Estrelas
- 15
- Forks
- 4
- Merge médio
- 1d 17h
- PRs com merge (30d)
- 22
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ChromeDevTools/trace-engine-cli
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 53/100
ChromeDevTools/trace-engine-cli#28 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
ChromeDevTools/trace-engine-cli#27 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
ChromeDevTools/trace-engine-cli#9 · 5 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de ChromeDevTools/trace-engine-cli
Issues semelhantes
-
bug engine
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
frostney/GocciaScript#2539 ·
Mantenedores costumam responder em até 1 dia
-
Fish Audio Live calls fail to start: `Unknown callback "onNotice"` from @fishaudio/agent-clientTalvez já em andamento @NEAL3K assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
milind-soni/OpenMausBot#8345 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
ardia-browser/ardia#6142 ·
Mantenedores costumam responder em até 1 dia
-
feature
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridAbertabug from-app needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
nightly-labs/openbot#21303 ·
Mantenedores costumam responder em até 1 dia