Date: Thu, 09 Nov 2017 09:18:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 223553] bsdgrep in -current is 10 times slower than before Message-ID: <bug-223553-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223553 Bug ID: 223553 Summary: bsdgrep in -current is 10 times slower than before Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: wosch@FreeBSD.org While working on bug #223532 I noticed that bsdgrep on a recent FreeBSD12-current is much slower than on FreeBSD11-stable On both machines runs the same bsdgrep version 2.6.0 $ /usr/bin/bsdgrep -V bsdgrep (BSD grep, GNU compatible) 2.6.0-FreeBSD How to repeat: First, we create a 100MB text file: for i in $(seq 1 20);do man tcsh;done > /tmp/tcsh20; for i in $(seq 1 20); do cat /tmp/tcsh20;done > /tmp/tcsh400 $ du -hs /tmp/tcsh400 99M /tmp/tcsh400 # FreeBSD11-stable LANG=3Den_CA.UTF-8 time /usr/bin/bsdgrep -ic foobar /tmp/tcsh400 0 2.06 real 2.00 user 0.05 sys # FreeBSD12-current=20 LANG=3Den_CA.UTF-8 time /usr/bin/bsdgrep -ic foobar /tmp/tcsh400 0 19.27 real 19.17 user 0.05 sys --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223553-8>