Testing suite is too slow
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- performance, testing
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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]
- Ngôn ngữ chính
- Python
- Star
- 539
- Fork
- 126
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PyLops/pylops
-
Lipschitz methodCó thể đã có người làm @Megumi1773 đã nhận 26 ngày trước. Đang mởenhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
PyLops/pylops#786 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Uv setup for intel environmentĐang mởCI
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Introduce spell checkingĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
PyLops/pylops#731 · 4 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PyLops/pylops
Issue tương tự
-
ci-rerun: collect.py fails a whole pr-babysit cycle on one transient GitHub 5xx and never retriesĐang mởfollow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Built-in QUBO fallback applies bitwise xor to floating binary statesCó thể đã có người làm @iloveeyjafjalla đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
qboson/kaiwu-pytorch-plugin#1702 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelcontextprotocol/python-sdk#3811 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cost:cheap practicality:seen-in-the-wild severity:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fairagro/m4.2_advanced_middleware_api#620 ·
Maintainer thường phản hồi trong vòng 1 ngày