The performance drop may be caused by slow scanning of PDF files, as reported recently: https://lists.clamav.net/pipermail/clamav-users/2024-February/013746.html