Optimize test memory usage
Memory usage stats were captured using pytest-monitor.
Below are the tests and their peak RSS usage during their run. Since, pytest
holds the test data during the entire run without freeing them, the memory usage only grows over time.
Again test_install_scripts
increases memory usage by 187 MB. This is on git HEAD c9a4eb85 with the AutoYaST XMLs changes.
Test Name | Peak RSS |
---|---|
test_datamaps | 119 MB |
test_dates | 122 MB |
test_devices | 122 MB |
test_firmwares | 122 MB |
test_ids | 126 MB |
test_install_scripts | 313 MB |
test_isoinfo | 316 MB |
test_os_short_ids | 319 MB |
test_related | 320 MB |
test_resources | 321 MB |
test_schema | 328 MB |
test_treeinfo | 328 MB |
test_urls | 330 MB |
test_variants | 332 MB |