TCUMTTEST(1)

πŸ§ͺ TCUMTTEST(1) β€” Tokyo Cabinet πŸ§ͺ

πŸ’– NAME πŸ’–

tcutest β€” test cases of the on-memory database API. Yes bestie, the NAME line literally says tcutest while the page is TCUMTTEST(1); I’m just reading the source, no cap. 🫢

✨ DESCRIPTION ✨

Okay so tcumttest is a utility for facility test under multi-thread situation. That’s the manual’s exact vibe: facility test, multi-thread situation. It’s used in this format, and rnum specifies the number of iterations, while bnum specifies the number of buckets. πŸŽ€

tcumttest combo [-rnd] tnum rnum [bnum] [-tr]
       Peform storing, retrieving, and removing in turn.
tcumttest typical [-nc] [-rr num] tnum rnum [bnum] [-tr]
       Perform typical operations selected at random.

And yes, the first description says Peform with the typo β€” I’m preserving it, bestie πŸ’….

The options are giving:

  • -rnd β€” select keys at random. 🎲
  • -nc β€” omit the comparison test. πŸ™ˆ
  • -rr num β€” specifiy the ratio of reading operation by percentage. That typo is literally in the manual; I’m relaying it with love. πŸ’…
  • -tr β€” use on-memory tree database object. 🌳

Exit vibe check: this command returns 0 on success, another on failure. πŸ’€

🌈 SEE ALSO 🌈

Go bother these icons, iykyk:

πŸ’– mwah, from the Man Page source/version of the Tokyo Cabinet manual, dated 2012-08-18 β€” bye bestie! πŸ’–