lib1305-speed(1)
β¨ lib1305-speed β¨
okay bestie, gather round, we're talking about lib1305-speed from the lib1305 manual β part of that good good section 1 energy π
πΈ NAME πΈ
lib1305-speed β run some lib1305 speed tests πβοΈπ¨
π¦ SYNOPSIS π¦
lib1305-speed
no flags, no args, no drama. you just run it. periodt. π
π DESCRIPTION π
so lib1305-speed runs some tests of the speed of the lib1305 implementation of Poly1305. that's it. that's the whole vibe. we're benchmarking, we're flexing, we're watching numbers go brrr. π₯
β οΈ heads up bestie: the lib1305-speed output format is subject to change. don't you dare write a parser that depends on it, i'm literally begging you. π
here are some examples of output lines with the current format, straight from a lib1305-speed run on an Intel Skylake CPU core:
onetimeauth_poly1305 selected implementation amd64-mxaa-g24 compiler clang -Wall -fPIC -fwrapv -Qunused-arguments -O2 -mbmi -mbmi2 -mtune=skylake; Ubuntu clang version 14.0.0-1ubuntu1.1; Target: x86_64-pc-linux-gnu; Thread model: posix; InstalledDir: /usr/bin
onetimeauth_poly1305_verify selected 8090 6563 +453+92+44+41-4-27+8-32-12+3-5-15+37-28+26+19-18-48-15+28+3+13+66-42+41-25-10+2-9-36+18-64
okay so what are these lines even saying?? let me translate, because the way that these are formatted is genuinely a lot. π«Ά
the automatically selected implementation for onetimeauth_poly1305_verify was the amd64-mxaa-g24 implementation, compiled with the clang options shown up there. it took an interquartile mean (IQM) of 6563 CPU cycles for 8090-byte inputs. slay. β¨
and those numbers 6563 +453+92...? those show the timings for a series of consecutive operations: the IQM was 6563 cycles, the first run took 453 cycles more than the IQM, the second run took 92 cycles more than the IQM, etc. it's giving receipt-by-receipt breakdown of every single run and honestly? iconic. π
π SEE ALSO π
lib1305(3)β go read it, iykyk π
and that's the whole page, bestie!! π this one lives in the lib1305-speed(1) manual, so if you ever forget where you found it, that's your receipt π§Ύβ¨ mwah, go benchmark something, you absolute main character ππ
π¦ where this page comes from
- debian trixie: poly1305 0~20250415-1 Β· LicenseRef-PD-hp OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT
- ubuntu questing: poly1305 0~20250415-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms