Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some tests have large runtimes #564

Open
fzimmermann89 opened this issue Nov 28, 2024 · 0 comments · May be fixed by #589
Open

Some tests have large runtimes #564

fzimmermann89 opened this issue Nov 28, 2024 · 0 comments · May be fixed by #589

Comments

@fzimmermann89
Copy link
Member

This is a reminder to check some of our tests that have a long runime if they can be run with smaller data:

28.44s call     tests/operators/test_fourier_op.py::test_fourier_op_gram[3d_nonuniform_4_coils_2_other]
27.19s call     tests/operators/test_fourier_op.py::test_fourier_op_gram[radial_phase_encoding_8_coils_non_cartesian_sampling]
13.11s call     tests/algorithms/test_optimizers.py::test_optimizers_rosenbrock[adam-optimizer_kwargs0-True]
10.27s call     tests/algorithms/test_optimizers.py::test_optimizers_rosenbrock[adam-optimizer_kwargs0-False]
7.89s call     tests/operators/test_fourier_op.py::test_fourier_op_fwd_adj_property[3d_nonuniform_4_coils_2_other]
6.69s call     tests/operators/test_fourier_op.py::test_fourier_op_fwd_adj_property[radial_phase_encoding_8_coils_non_cartesian_sampling]
5.45s call     tests/operators/models/test_transient_steady_state_with_preparation.py::test_transient_steady_state[0-1-m0]
5.33s call     tests/operators/test_fourier_op.py::test_fourier_op_gram[stack_of_stars_5_other_3_coil_with_oversampling]
5.24s call     tests/operators/test_fourier_op.py::test_fourier_op_fwd_adj_property[stack_of_stars_5_other_3_coil_with_oversampling]
4.89s setup    tests/data/test_kdata.py::test_KData_from_file
4.30s call     tests/operators/models/test_saturation_recovery.py::test_saturation_recovery[0-0]
3.74s call     tests/operators/models/test_transient_steady_state_with_preparation.py::test_transient_steady_state[0-0-0]
3.74s setup    tests/data/test_kdata.py::test_KData_raise_warning_for_bodycoil
3.69s call     tests/operators/models/test_molli.py::test_molli[20-a]
3.64s call     tests/operators/test_operator_norm.py::test_finite_difference_operator_norm[dim3]
3.58s call     tests/operators/models/test_inversion_recovery.py::test_inversion_recovery[20-m0]
3.57s call     tests/operators/models/test_inversion_recovery.py::test_inversion_recovery[0--m0]
3.25s setup    tests/data/test_kdata.py::test_KData_from_file_diff_nky_for_rep
3.23s call     tests/operators/models/test_transient_steady_state_with_preparation.py::test_transient_steady_state[0--1--m0]
3.12s setup    tests/operators/test_fourier_op.py::test_fourier_op_cartesian_sorting

are some timings, running with 4 workers (cave: tests can influence each other in runtime) in wsl on my ptb laptop.

@fzimmermann89 fzimmermann89 changed the title test runtime Some tests have large runtimes Nov 28, 2024
@ckolbPTB ckolbPTB linked a pull request Dec 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant