Testing suite is too slow
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- performance, testing
Línea de trabajo
Start by reviewing the slow tests named in pytests/test_wavedecomposition.py and pytests/test_seismicinterpolation.py, then run the test suite with duration reporting to confirm the timings. The issue suggests reducing example dimensions; done means the suite runs faster without losing meaningful test coverage or causing CI failures.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On a Intel Core i7-8565U CPU @ 1.80GHz × 8, the full test suite takes on average, 250s. I have noticed that tests are routinely failing in the GitHub CI, and I believe it may be because of this.
To profile the matter, I generated a list of all tests which take more than 2 seconds to run (see below). It seems WavefieldDecomposition and SeismicInterpolation are the biggest culprits, so one suggestions would be to make the dimensions in those examples smaller.
============================== slowest durations ===============================
26.72s call pytests/test_wavedecomposition.py::test_WavefieldDecomposition3D[par1]
25.61s call pytests/test_seismicinterpolation.py::test_SeismicInterpolation2d[par3]
17.35s call pytests/test_seismicinterpolation.py::test_SeismicInterpolation3d[par1]
8.76s call pytests/test_wavedecomposition.py::test_WavefieldDecomposition3D[par0]
8.37s call pytests/test_marchenko.py::test_Marchenko_timemulti_ana[par0]
6.01s call pytests/test_seismicinterpolation.py::test_SeismicInterpolation2d[par2]
5.30s call pytests/test_marchenko.py::test_Marchenko_freq[par0]
5.06s call pytests/test_marchenko.py::test_Marchenko_time_ana[par0]
5.02s call pytests/test_marchenko.py::test_Marchenko_time[par0]
5.01s call pytests/test_marchenko.py::test_Marchenko_freq[par1]
4.88s setup pytests/test_wavedecomposition.py::test_WavefieldDecomposition3D[par0]
4.88s call pytests/test_sparsity.py::test_ISTA_FISTA_multiplerhs[par3]
4.87s call pytests/test_sparsity.py::test_ISTA_FISTA_multiplerhs[par1]
4.74s call pytests/test_sparsity.py::test_ISTA_FISTA_multiplerhs[par5]
4.71s call pytests/test_sparsity.py::test_ISTA_FISTA_multiplerhs[par2]
4.64s call pytests/test_sparsity.py::test_ISTA_FISTA_multiplerhs[par0]
4.62s call pytests/test_sparsity.py::test_ISTA_FISTA_multiplerhs[par4]
4.16s call pytests/test_radon.py::test_Radon3D[par2]
3.41s call pytests/test_radon.py::test_Radon3D[par5]
3.36s call pytests/test_radon.py::test_Radon2D[par2]
3.34s call pytests/test_radon.py::test_Radon3D[par7]
3.17s call pytests/test_sparsity.py::test_ISTA_FISTA[par2]
3.11s call pytests/test_sparsity.py::test_ISTA_FISTA[par0]
3.10s call pytests/test_sparsity.py::test_ISTA_FISTA[par1]
3.07s call pytests/test_sparsity.py::test_ISTA_FISTA[par5]
2.99s call pytests/test_sparsity.py::test_ISTA_FISTA[par4]
2.96s call pytests/test_sparsity.py::test_ISTA_FISTA[par3]
2.69s call pytests/test_radon.py::test_Radon2D[par5]
2.30s call pytests/test_radon.py::test_Radon3D[par3]
2.21s call pytests/test_radon.py::test_Radon2D[par7]
- Lenguaje dominante
- Python
- Estrellas
- 539
- Forks
- 126
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 21
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 PyLops/pylops
-
Lipschitz methodPosiblemente ocupada @Megumi1773 la tomó hace 28 días. Abiertoenhancement good first issue
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
PyLops/pylops#786 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Uv setup for intel environmentAbiertoCI
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 2 días
-
Introduce spell checkingAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
PyLops/pylops#731 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
Todos los issues de PyLops/pylops
Issues similares
-
fuzz fuzz-unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
neilsh/stunt-reel#220 ·
Los mantenedores suelen responder en 1 día
-
[Issue]: use_fp4_cache is accepted but ignored; the launcher always writes FP8 recordsPosiblemente ocupada @0z5a la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area: cli priority: p3 size: S type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
finos/open-resource-broker#757 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 6 días