The test_axialExpansionChanger.py
tests are too slow
#1741
Labels
low priority
Style points and non-features
optimization
related to measuring and speeding up the code or reducing memory
testing
Related to tests
The unit tests in
test_axialExpansionChanger.py
are the slowest in ARMI. For instance, these three tests alone take 30 seconds to run:TestInputHeightsConsideredHot::test_coldAssemblyExpansion
- 15.84 secondsTestConservation::test_thermalExpansionContractionConservation_complex
- 6.75 secondsTestManageCoreMesh::test_manageCoreMesh
- 6.08 secondsCould we reduce the size of the detailed axial expansion test reactor? That is clearly the cause of the slowness:
armi/armi/tests/detailedAxialExpansion/refSmallCoreGrid.yaml
Lines 4 to 20 in de4eeee
Do we really need a full 9-ring reactor to test that assemblies expand thermally, in the axial direction?
The text was updated successfully, but these errors were encountered: