Date: Fri, 08 Dec 2017 08:28:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224160] wc -c is slow Message-ID: <bug-224160-8-c9NXRD0K3y@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224160-8@https.bugs.freebsd.org/bugzilla/> References: <bug-224160-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224160 --- Comment #1 from Wolfram Schneider <wosch@FreeBSD.org> --- In case you don’t want download 61GB for testing, here is a much simpler test case using dd(1) # FreeBSD wc $ dd if=/dev/zero of=/dev/stdout bs=1m count=2000 | time wc -c 2000+0 records in 2000+0 records out 2097152000 bytes transferred in 9.587758 secs (218732260 bytes/sec) 2097152000 9.58 real 9.15 user 0.39 sys # GNU wc $ dd if=/dev/zero of=/dev/stdout bs=1m count=2000 | time gwc -c 2000+0 records in 2000+0 records out 2097152000 bytes transferred in 0.821867 secs (2551693015 bytes/sec) 2097152000 0.82 real 0.04 user 0.40 sys -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224160-8-c9NXRD0K3y>
