Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2021 12:59:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255551] FreeBSD sort much slower than GNU or NetBSD
Message-ID:  <bug-255551-227-UqGVcAKhwq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255551-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255551-227@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=3D255551

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |FIXED
           Assignee|bugs@FreeBSD.org            |markj@FreeBSD.org

--- Comment #12 from Mark Johnston <markj@FreeBSD.org> ---
I'm going to close this one now that PR 255840 is fixed as well.  On main w=
e're
still not as fast as GNU sort, but the difference is much smaller:

markj@nuc> time sort -n test.txt > /dev/null

real    0m0.925s
user    0m0.875s
sys     0m0.050s

markj@nuc> time LC_ALL=3DC sort -n test.txt > /dev/null

real    0m0.782s
user    0m0.738s
sys     0m0.033s

markj@nuc> time gsort --parallel 1 -n test.txt > /dev/null

real    0m0.423s
user    0m0.380s
sys     0m0.041s

Per
> This isn't really a problem, since FreeBSD's sort command is more than fa=
st enough for my purposes, but it seems worth reporting in case it exposes =
an undiscovered problem that might be easy to fix.

I think this PR has achieved its goals. :)
Please re-open if you disagree or have suggestions for further improvements.

--=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-255551-227-UqGVcAKhwq>