TKRZW_STR_PERF(1)

πŸ“¦
version 1.0.32 Β· 3 versions
, in epel 10, fedora 43

πŸŽ€ 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:

  • --iter num β€” how many iterations to run. (default: 10000)
  • --text num β€” the size of each text to search. (default: 10000)
  • --pattern num β€” the size of each pattern to search for. (default: 5)
  • --chars num β€” the number of character variations in the text and the pattern. (default: 26)
  • --whole num β€” the maximum number of results to get. 0 means the first only. (default: 0)
  • --batch num β€” the number of patterns in a batch. 0 means no batching. (default: 0)

Options of the hash subcommand:

  • --iter num β€” the number of iterations. (default: 10000)
  • --text num β€” the size of each text to search. (default: 10000)

short and sweet, no notes πŸ’–


Options of the compress subcommand:

  • --iter num β€” the number of iterations. (default: 10000)
  • --text num β€” the size of each text to search. (default: 10000)
  • --error_type str β€” the type of errors to detect: zero, random, alpha.
  • --error_size num β€” 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