Optimize Revision.state and ListWorkerVersions
Closes #488 (closed) and #489 (closed). Intermittent coverage drop due to #496 (closed).
Stats | master |
!1038 (merged) |
---|---|---|
Queries | 5n+5 | 5 |
Queries in browser | 5n+6 | 5 |
Time | 878ms | 183ms |
Time in browser | 1178ms | 183ms |
(n is the worker version count, which can be infinite since there is no pagination on this endpoint.)
Edited by Erwan Rouchet
Merge request reports
Activity
Codecov Report
Merging #1038 into master will increase coverage by
0.00%
. The diff coverage is100.00%
.@@ Coverage Diff @@ ## master #1038 +/- ## ======================================= Coverage 87.87% 87.88% ======================================= Files 235 235 Lines 15187 15193 +6 ======================================= + Hits 13346 13352 +6 Misses 1841 1841
Impacted Files Coverage Δ arkindex/dataimport/api.py 99.25% <100.00%> (ø)
arkindex/dataimport/models.py 41.00% <100.00%> (+0.49%)
arkindex/dataimport/serializers/workers.py 100.00% <100.00%> (ø)
arkindex/dataimport/tests/test_workers.py 100.00% <100.00%> (ø)
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update bd12a52...104d10a. Read the comment docs.Edited by Bastien Abadieassigned to @babadie and unassigned @erwanrouchet
added 3 commits
-
e2ce09ee...4c948d37 - 2 commits from branch
master
- b7dc84b5 - Optimize Revision.state and ListWorkerVersions
-
e2ce09ee...4c948d37 - 2 commits from branch
added 3 commits
-
b7dc84b5...4cd93252 - 2 commits from branch
master
- 9539e709 - Optimize Revision.state and ListWorkerVersions
-
b7dc84b5...4cd93252 - 2 commits from branch
added 5 commits
-
9539e709...046e9e1f - 4 commits from branch
master
- 4e261d4a - Optimize Revision.state and ListWorkerVersions
-
9539e709...046e9e1f - 4 commits from branch
added 4 commits
-
4e261d4a...72c6ac3d - 3 commits from branch
master
- b9e54f31 - Optimize Revision.state and ListWorkerVersions
-
4e261d4a...72c6ac3d - 3 commits from branch
added 7 commits
-
b9e54f31...bd12a522 - 6 commits from branch
master
- 104d10a1 - Optimize Revision.state and ListWorkerVersions
-
b9e54f31...bd12a522 - 6 commits from branch
mentioned in commit 70805c95
Please register or sign in to reply