Open weshayutin opened 1 year ago
Moving out of iteration. The proper solution is to add in memory cache for all the failure exporters and not focus on just azure. The 2s save in favor of having invalid query is not worth the implementation if we can save almost 99% percent of the time with proper cache implementation. Note the cache is already present in the commit time exporter.
Fix
When we added 200 work items to our Azure DevOps test provider, we noticed that it was to slow to get all the data. Some rework was done, but there are still room for improvements.
Azure DevOps query language specs
Requirements
[ ] filter in query
pytest exporters/tests/test_failure_exporter_azure_devops.py
The results were faster 😄
[x] filter fields in query
pytest exporters/tests/test_failure_exporter_azure_devops.py
The results were not faster, but it does occupy less memory space.