Skip to content

Commit 6e613d1

Browse files
upgrade notes: explain performance improvements 2.51 (#13287)
* upgrade notes: explain performance benefits * add two prs
1 parent 2ab6c8b commit 6e613d1

File tree

1 file changed

+12
-0
lines changed
  • docs/content/en/open_source/upgrading

1 file changed

+12
-0
lines changed

docs/content/en/open_source/upgrading/2.51.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ weight: -20250902
55
description: Helm chart changes and Postgres major version updates.
66
---
77

8+
## Performance improvements
9+
10+
This release includes multiple improvements aimed at making DefectDojo faster, more scalable, and lighter on your database and workers.
11+
12+
- Import and reimport are significantly more efficient: product grading is now orchestrated in batches using Celery chords, reducing the number of background tasks and database churn during large scans. This means faster imports and smoother post-processing on busy systems. See [PR 12914](https://github.com/DefectDojo/django-DefectDojo/pull/12914).
13+
- Query-count reductions and importer hot-path tuning: we trimmed unnecessary ORM calls and optimized how findings/endpoints are updated during (re)import. You should see noticeably quicker runs out of the box. See [PR 13182](https://github.com/DefectDojo/django-DefectDojo/pull/13182) and [PR 13152](https://github.com/DefectDojo/django-DefectDojo/pull/13152).
14+
- Smarter background task orchestration for product graing: less duplicate work and better scheduling during heavy operations, keeping the UI responsive while long jobs run. See [PR 12900](https://github.com/DefectDojo/django-DefectDojo/pull/12900).
15+
- Bulk tag addition for large batches: adds an internal method to add tags to many findings at once, performing tagging in batches (default 1,000) with only a few queries per batch. This replaces ~3 queries per finding with ~3 queries per batch, significantly reducing DB load during imports, reimports, and bulk edit. On a ~10k-findings sample, import time dropped from ~372s to ~190s. See [PR 13285](https://github.com/DefectDojo/django-DefectDojo/pull/13285).
16+
- Preparations for our switch to `django-pghistory` which provides more features and better performance compared to `django-auditlog`. See [PR 13169](https://github.com/DefectDojo/django-DefectDojo/pull/13169).
17+
18+
No configuration changes are required—gains are automatic after upgrading.
19+
820
## Helm Chart Changes
921

1022
This release introduces several important changes to the Helm chart configuration:

0 commit comments

Comments
 (0)