djbsort-speed(1)
π djbsort-speed β the speed test page, bestie edition π
okay so real quick before anything: this is the manual page for djbsort-speed, from section 1 of the manual (the "commands you just type" section, yk). now let's get into it π«Ά
β¨ NAME β¨
djbsort-speed β runs some speed tests on the djbsort library, no cap π
π SYNOPSIS π
djbsort-speed
that's it. that's the whole vibe. no flags, no args, just send it β¨
πΈ DESCRIPTION πΈ
djbsort-speed runs a bunch of tests measuring how fast the djbsort library actually goes. it's giving benchmark energy, it's giving performance check, it's giving "let's see what this CPU can do" π₯
heads up bestie: the output format of djbsort-speed is subject to change. so don't go parsing it in your lil scripts like it's a stable API, because it is Not That π
here are some example output lines, in the current format, from a djbsort-speed run on an AMD Zen 3 CPU core:
sort_int32 selected implementation avx2 compiler gcc -Wall -fPIC -fwrapv -O2 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mbmi -mbmi2 -mpopcnt -mavx2 -mtune=haswell; gcc (Debian 12.2.0-14+deb12u1) 12.2.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sort_int32 selected 1597 8769 +1335+200-12+36-20-70+20-61-25+57-55+26+4-22+10+0+26-1-70-41+53-59-25+57-55+26+4-22+10+0+26-1
so what are these lines even saying?? let me translate π§
- they're telling you that the implementation automatically selected for
djbsort_int32was theavx2implementation, and it got compiled with the clang options shown above π - and that it took an interquartile mean (IQM) of
8769CPU cycles to sort anint32[1597]array β - and then those numbers β
8769 +1335+200+...β are the timings for a series of consecutive operations: the IQM was8769cycles, the first run took1335cycles more than the IQM, the second run took200cycles more than the IQM, etc. so like, a lil deviation report card for each run π
π¦ SEE ALSO π¦
and that's the whole page, bestie!! this was djbsort-speed(1) β go forth and benchmark, mwah πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- epel 10: libdjbsort 20260621-1.el10_3 Β· LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
- epel 9: libdjbsort 20260621-1.el9 Β· LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
- fedora 43: libdjbsort 20260621-1.fc43 Β· LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
- fedora 43: libdjbsort 20260621-1.fc43 Β· LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
- fedora 44: libdjbsort 20260621-1.fc44 Β· LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
- fedora 44: libdjbsort 20260621-1.fc44 Β· LicenseRef-Fedora-Public-Domain OR 0BSD OR MIT-0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms