KCSTASHTEST(1)

πŸ’… KCSTASHTEST(1) β€” Kyoto Cabinet's stash database vibe check

okay bestie, welcome to kcstashtest, from the Kyoto Cabinet manual (section 1, obvi) πŸ’–


✨ NAME ✨

kcstashtest β€” the command line interface for testing the stash database 🫢


🌸 DESCRIPTION 🌸

okay so. kcstashtest is a lil utility that does facility test and performance test on the stash database. literally it's the "does this thing work and also how fast is it" girlie ✨

You run it like this, and rnum is the number of iterations (like, how many times we go around the block πŸŒ€):

kccachetest order [-th num] [-rnd] [-etc] [-tran] [-bnum num]
[-lv] rnum
       Performs in-order tests.
kccachetest queue [-th num] [-it num] [-rnd] [-bnum num] [-lv]
rnum
       Performs queuing operations.
kccachetest wicked [-th num] [-it num] [-bnum num] [-lv] rnum
       Performs mixed operations selected at random.
kccachetest tran [-th num] [-it num] [-bnum num] [-lv] rnum
       Performs test of transaction.
  • order β€” performs in-order tests 🌈 takes [-th num], [-rnd], [-etc], [-tran], [-bnum num], [-lv], then rnum.
  • queue β€” performs queuing operations πŸŽ€ takes [-th num], [-it num], [-rnd], [-bnum num], [-lv], then rnum.
  • wicked β€” performs mixed operations selected at random 😈 chaotic queen behavior, honestly. takes [-th num], [-it num], [-bnum num], [-lv], then rnum.
  • tran β€” performs test of transaction πŸ‘‘ takes [-th num], [-it num], [-bnum num], [-lv], then rnum.

πŸ¦‹ the options, one by one πŸ¦‹

these options are giving very customizable, fr fr:

  • -th num β€” specifies the number of worker threads 🧡 (more threads = more girlies working the floor)
  • -rnd β€” performs random test 🎲
  • -etc β€” performs miscellaneous operations πŸ“ (the little extras, the garnish)
  • -tran β€” performs transaction πŸ’œ
  • -bnum num β€” specifies the number of buckets of the hash table πŸͺ£
  • -lv β€” reports all errors 😭 (yes ALL of them, no hiding, we're being honest here)
  • -it num β€” specifies the number of repetition πŸ”

⭐ EXIT STATUS ⭐

This command returns 0 on success, and another value on failure πŸ’€ (iykyk β€” check your exit codes, bestie)


not me ending this page with the receipts: this was the Kyoto Cabinet man page, dated 2012-05-24 πŸ“… β€” stay slay, run your tests, and may all your exit codes be 0 πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ