Hi,

on 10.11.2015 15:05, Trond Endrestøl wrote:
> I blame file(1), it's hopelessly slow. mcview uses file(1) to deduce 
> if it should just display the damn file or run the file through some 
> filter. Maybe an option in mc/mcview to disable the use of file(1) is 
> an acceptable compromise.
Yeah, you seem to be right. /usr/bin/time -h file /var/log/maillog gives
same time of 37-40 seconds to process the file.
The main answer is now why file(1) is that slow ? I tested it on files
of about same size and UFS - there's no lag at all.

Is it worth to report this in bugzilla ?

Thanks.
Eugene.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to