bin/148150: Poor file(1) performance
edwin at FreeBSD.org
edwin at FreeBSD.org
Thu Oct 21 20:57:57 UTC 2010
Synopsis: Poor file(1) performance
State-Changed-From-To: open->analyzed
State-Changed-By: edwin
State-Changed-When: Thu Oct 21 20:53:01 UTC 2010
State-Changed-Why:
The best patch so far without loosing features would be:
-100 regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc OS/2 REXX batch file text
-100 regex/c =^[\ \t]{0,10}say\ ['"] OS/2 REXX batch file text
+100 regex/c =^[\ \t]+call[\ \t]+rxfunc OS/2 REXX batch file text
+100 regex/c =^[\ \t]+say\ ['"] OS/2 REXX batch file text
which reduces the worst-case time from 1900 ms to 450 ms, full
removal would reduce it back to 170 ms. Worst case scenario is the
file aclocal.m4 in the contrib/file directory.
Responsible-Changed-From-To: freebsd-bugs->obrien
Responsible-Changed-By: edwin
Responsible-Changed-When: Thu Oct 21 20:53:01 UTC 2010
Responsible-Changed-Why:
obrien@ wants to pre-approve changes or do them himself.
obrien@: Let me know if I can commit this one!
http://www.freebsd.org/cgi/query-pr.cgi?pr=148150
More information about the freebsd-bugs
mailing list