On 2010-04-18 20:30, Mohammed Al-Saleh wrote: > I've noticed that if I use clamscan to scan a file, it always takes around > 3.7 seconds no matter the file content, type, or even size (unless it is > really very large file). > Does any body know what is the feature in the ClamAV to make it takes the same time almost always?
clamscan loads the database each time, and loading that takes a few seconds. The actual scanning time is much smaller. Compare it to the time needed by clamdscan: that is the scantime, and it does change according to filesize. Best regards, --Edwin _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net