-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
dev toolsChanges/Updates in Development toolsChanges/Updates in Development toolsenhancementNew feature or requestNew feature or request
Milestone
Description
- TIA Toolbox version: 1.4.0
- Python version: 3.10.8
- Operating System: Mac OS 13.3.1 (arm)
Description
Tests in the toolbox are extremely slow. Even with CI=True
, all the checks take almost half an hour. Non-CI mode takes even more time. This makes an interactive development approach, with running tests after small changes, impossible. This results in writing bad test-related code.
The main reasons why tests are slow are static files. Each test run is related to downloading and then deleting gigabytes of models' weights and test images. However, almost always, those files remain unchanged after the tests' execution.
Not only is this slow, but it also triggers a lot of false positive results. For example, that's the typical result of my local run:
Todo
- Fixtures caching
- Models caching
- Cache in CI
- Parallel tests
- Safe downloads
- Cache rechecks (HTTP headers / ETag)
Metadata
Metadata
Assignees
Labels
dev toolsChanges/Updates in Development toolsChanges/Updates in Development toolsenhancementNew feature or requestNew feature or request