[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43826: cuirass: build query is too slow.
From: |
Mathieu Othacehe |
Subject: |
bug#43826: cuirass: build query is too slow. |
Date: |
Tue, 06 Oct 2020 14:46:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello,
When "db-get-builds" is called with a limit set to N, at least ~2N
queries are executed. First the main query returns the build list, then
build outputs and build products are searched.
All of this should be combined in a unique query to minimize
overhead. The limit should also by restricted to at most 1000 builds for
instance.
Thanks,
Mathieu
- bug#43826: cuirass: build query is too slow.,
Mathieu Othacehe <=