TKRZW_STR_PERF(1)
π NAME π
okay so first thing, bestie: this whole page is the manual page for tkrzw_str_perf, and it lives in the User Commands corner of your manual, and the version we're repping here is 1.0.32. that's the intro. mwah π
β¨ DESCRIPTION β¨
tkrzw_str_perf: Performance checker of string utilities of Tkrzw. that's it, that's the job. you give it a task, it runs that task a bunch of times and tells you how fast it went. numbers go brrr π
Usage:
tkrzw_str_perf search [options]
: Checks search performance.
tkrzw_str_perf hash [options]
: Checks hashing performance.
tkrzw_str_perf compress [options]
: Checks compression performance.
so there's three subcommands, one for each vibe: search, hash, compress. pick your fighter π«Ά
Options of the search subcommand:
--iternum β how many iterations to run. (default: 10000)--textnum β the size of each text to search. (default: 10000)--patternnum β the size of each pattern to search for. (default: 5)--charsnum β the number of character variations in the text and the pattern. (default: 26)--wholenum β the maximum number of results to get.0means the first only. (default: 0)--batchnum β the number of patterns in a batch.0means no batching. (default: 0)
Options of the hash subcommand:
--iternum β the number of iterations. (default: 10000)--textnum β the size of each text to search. (default: 10000)
short and sweet, no notes π
Options of the compress subcommand:
--iternum β the number of iterations. (default: 10000)--textnum β the size of each text to search. (default: 10000)--error_typestr β the type of errors to detect:zero,random,alpha.--error_sizenum β the size of each error section. (default: 1)
this one gets the extra error-flavored toppings because compression testing loves a little chaos π¦
fr fr, if you're gonna quote any of these defaults back at someone, quote them exactly β the numbers in parentheses are the real ones, no cap.
tkrzw_str_perf 1.0.32 Β· January 2025 β that's the source, version and date, and that's the sign-off, bestie. go run it and tell me the timings, i'll be here ππ§
π¦ where this page comes from
- epel 10: tkrzw 1.0.32-2.el10_1 Β· Apache-2.0
- fedora 43: tkrzw 1.0.32-2.fc43 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms