noaa-ocs-modeling / CoupledModelDriver

coupled model configuration generation
https://CoupledModelDriver.readthedocs.io
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

Revise slow test OR performance issue #166

Open SorooshMani-NOAA opened 2 months ago

SorooshMani-NOAA commented 2 months ago

Some tests are very slow. At this point I'm not sure if this is due to a performance issue or bad testing setup. Address these. PyTest outputs:

- 490.83s call     tests/test_generation.py::test_hera_adcirc_tidal_besttrack_nems_ww3data
- 489.11s call     tests/test_generation.py::test_hera_adcirc_tidal_besttrack_nems_ww3data_aswip
- 153.29s call     tests/test_generation.py::test_hera_schism_besttrack_fromnhccode
+ 0.82s call     tests/test_generation.py::test_hera_adcirc_tidal_besttrack_nems_ww3data_nointernet
+ 0.33s call     tests/test_generation.py::test_hera_schism_besttrack_fromfile
+ 0.09s call     tests/test_client.py::test_initialize_adcirc_requied_args
+ 0.08s call     tests/test_configuration.py::test_adcirc
+ 0.08s call     tests/test_generation.py::test_hera_adcirc_tidal_nems_atmesh_ww3data