[Bug 255551] FreeBSD sort much slower than GNU or NetBSD

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Sep 2021 12:59:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255551

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 we'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=C 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 fast 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.