RSBENCH(1)
π rsbench(1) β the user-commands baddie β¨
okay bestie, first things first: this is the manual page for rsbench, and it lives in section 1 (User Commands) of the manual. yes we are that section. slay. π
πΈ NAME πΈ
rsbench β benchmark and test for librsb. that's it. that's the whole personality. it benches, it tests, it does both. periodt. π
π¦ SYNOPSIS π¦
rsbench [--bench] [OPTIONS]
rsbench [ -o OPCODE] [ -O {subprogram-code}] [ {subprogram-specific-arguments} ]
two whole ways to call her. pick your fighter. β¨
π DESCRIPTION π
rsbench is a swiss army knife for testing the library functionality and performance. no cap. it's giving "one binary, so many moods" and honestly? obsessed. π§°π¦
so the way that it works is you choose your {subprogram-code}, and the menu is:
rβ for the reference benchmark (will produce a machine specific file)cβ for the complete benchmarkeβ for the matrix experimentation codedβ for a single matrix dumpoutbβ for the (current, going to be obsoleted) benchmarktβ for some matrix construction testsoβ obsolete, will soon be removed
β οΈ okay bestie listen βbis the current one but it is literally marked going to be obsoleted, andois already obsolete and will soon be removed. do not get emotionally attached too. i'm serious. π
{subprogram-specific-arguments} will be available from the subprograms. every subprogram got its own lil bag of tricks, iykyk.
and now, the examples, because this is where it clicks fr fr:
rsbench -O b -h
will show the current benchmark subprogram's options.
rsbench -o a -O b -h
will show the spmv benchmark subprogram's options.
rsbench -o n -O b -h
will show the negation benchmark subprogram's options.
see how -O picks the subprogram and -o narrows it down? β¨ that's the vibe check passing.
The default {subprogram-code} is 'b'. so if you don't say anything, she's gonna pick b for you. lowkey polite of her. π«Ά
With OPCODE among 'actinS'.
π the OPTIONS shelf π
rsbench where OPTIONS are taken from:
-h,--help--bench-o,--matrix-operation <arg>-O,--subprogram-operation <arg>-I,--information-C,--configuration-H,--hardware-counters-M,--memory-benchmark-e,--experiments-v,--version-B,--blas-testing-Q,--quick-blas-testing <arg>-E,--error-testing <arg>-F,--fp-bench-t,--transpose-test--limits-testing-G,--guess-blocking-g,--generate-matrix--plot-matrix,--matrix-ls,--matrix-ls-latex-P,--matrix-print <arg>--read-performance-record <arg>,--help-read-performance-record,--setenv <arg>
π real talk: this page does not hand out one-line descriptions for these, and i am not about to make stuff up about your flags. the names are doing the talking. and ngl, they're eating. π
π the autotune argument tea π
Arguments to --want-autotune of the format "Ss[Xx[Tt[V[V]]]]", where S is the autotuning time in seconds, X is the number of tries, T the number of starting threads, V can be either q for quiet autotuning or v for a verbose one (can be specified twice).
Valid examples: 3.0s2x4tv, 3.0s2x0tq, 3.0s, 2.0s10x.
See documentation of rsb_tune_spmm for a full explanation of these parameters role in auto-tuning. yes, the brackets nest. yes, [V[V]] really can show up twice. she's a little extra and we love that for her. β¨πΈ
βοΈ AUTHOR βοΈ
Written by michelemartone_AT_users_DOT_sourceforge_DOT_net.
π REPORTING BUGS π
Report bugs to michelemartone_AT_users_DOT_sourceforge_DOT_net.
Β©οΈ COPYRIGHT Β©οΈ
Copyright Β© 2008-2026 Michele Martone.
and that's the whole page, bestie β you ate that read. stay iconic, go bench something. πβ¨
this was rsbench version: 1.3.0, dated 2026 β bye babes, see you in the next man page π«Άπ
π¦ where this page comes from
- ubuntu stonking: librsb-tools 1.3.0.3+dfsg-1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms