getsentry / getsentry/sentry-java

Profiler samples are re-anchored once at profile end

Abierto
#5,581 1 comentario 0 reacciones 0 asignados Ver en GitHub
Platform: Java
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
478
Merge medio
2 d 23 h
PR fusionados (30 d)
67

Descripción

Audit finding **C1 — theoretical, LOW-MEDIUM**.

`AndroidProfiler` computes `timestampDiff` (the elapsedRealtime↔wall offset) once at profile end and applies it to every wall-stamped `PerformanceCollectionData` sample (`sentry-android-core/src/main/java/io/sentry/android/core/AndroidProfiler.java:309-324`). A wall step during the profile shifts all earlier CPU/memory samples relative to the trace.

Source: [JAVA-557]() §C1.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Read AndroidProfiler.java at lines 309-324 and trace how timestampDiff is computed at profile end and applied to PerformanceCollectionData samples. Verify the behavior around a wall-clock step during profiling, then ensure earlier CPU and memory samples are not shifted relative to the trace; confirm the corrected timestamp alignment with the relevant profiler coverage.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, java
Área
mobile-dev, performance
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.