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/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224160 --- Comment #1 from Wolfram Schneider <wosch@FreeBSD.org> --- In case you don=E2=80=99t want download 61GB for testing, here is a much si= mpler test case using dd(1) # FreeBSD wc $ dd if=3D/dev/zero of=3D/dev/stdout bs=3D1m count=3D2000 | 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=3D/dev/zero of=3D/dev/stdout bs=3D1m count=3D2000 | 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 --=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-224160-8-c9NXRD0K3y>