debdiff artifact plugin is very slow for large debdiffs (e.g. kernel)
/debian/developers/artifact/2951218/ is a debdiff artifact that takes about 45 seconds to render. It reports a very large number of new files, beginning with:
-rw-r--r-- root/root /boot/System.map-6.12+unreleased-armmp
-rw-r--r-- root/root /boot/System.map-6.12+unreleased-armmp-lpae
-rw-r--r-- root/root /boot/System.map-6.12+unreleased-rt-armmp
-rw-r--r-- root/root /boot/config-6.12+unreleased-armmp
-rw-r--r-- root/root /boot/config-6.12+unreleased-armmp-lpae
-rw-r--r-- root/root /boot/config-6.12+unreleased-rt-armmp
-rw-r--r-- root/root /boot/vmlinuz-6.12+unreleased-armmp
-rw-r--r-- root/root /boot/vmlinuz-6.12+unreleased-armmp-lpae
-rw-r--r-- root/root /boot/vmlinuz-6.12+unreleased-rt-armmp
-rw-r--r-- root/root /lib/modules/6.12+unreleased-armmp/kernel/arch/arm/lib/xor-neon.ko.xz
-rw-r--r-- root/root /lib/modules/6.12+unreleased-armmp/kernel/crypto/af_alg.ko.xz
-rw-r--r-- root/root /lib/modules/6.12+unreleased-armmp/kernel/crypto/algif_skcipher.ko.xz
-rw-r--r-- root/root /lib/modules/6.12+unreleased-armmp/kernel/crypto/async_tx/async_memcpy.ko.xz
-rw-r--r-- root/root /lib/modules/6.12+unreleased-armmp/kernel/crypto/async_tx/async_pq.ko.xz
-rw-r--r-- root/root /lib/modules/6.12+unreleased-armmp/kernel/crypto/async_tx/async_raid6_recov.ko.xz
-rw-r--r-- root/root /lib/modules/6.12+unreleased-armmp/kernel/crypto/async_tx/async_tx.ko.xz
This may be compounded by other issues (e.g. #1234), but nevertheless it's always going to be possible for the diff between two versions of a package to contain a huge number of files. This artifact plugin should probably impose some kind of limit on how many files it shows (perhaps on a per-package basis) and direct people to the raw output if necessary.
Alternatively (or additionally), if it turns out that there are optimizations in this plugin that would take the rendering time for this sort of extreme case down to a few seconds, then that would also be an acceptable solution.