Proposal: `compare` command for two traces
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- cli, performance
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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?
- Lenguaje dominante
- TypeScript
- Estrellas
- 15
- Forks
- 4
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 22
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ChromeDevTools/trace-engine-cli
-
Dificultad 4/5 3-5 días Aptitud para principiantes 53/100
ChromeDevTools/trace-engine-cli#28 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
ChromeDevTools/trace-engine-cli#27 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
ChromeDevTools/trace-engine-cli#9 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de ChromeDevTools/trace-engine-cli
Issues similares
-
feature
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridAbiertobug from-app needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nightly-labs/openbot#21303 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ADORSYS-GIS/CoopData#282 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
OHDSI/Data2Evidence#3816 ·
Los mantenedores suelen responder en 3 días
-
`ovsx verify` fails for a version older than the 100 newest of an extensionPosiblemente ocupada @trivikr la tomó hoy. Abiertocli
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
eclipse-openvsx/openvsx#2482 · 2 comentarios ·
Los mantenedores suelen responder en 1 día