KCCACHETEST(1)

πŸ’– KCCACHETEST πŸ’–

okay so bestie, lemme tell you about kccachetest β€” it's the command line interface to test the cache hash database, and honestly? it's giving glow-up energy for your whole testing workflow. ✨


✨ NAME ✨

kccachetest β€” a command line interface to test the cache hash database πŸŽ€


🌸 DESCRIPTION 🌸

so like, kccachetest is a utility for facility test and performance test of the cache hash database. two jobs, one icon. πŸ’…

the command gets used in these formats, and heads up β€” rnum specifies the number of iterations, so that's how many times we're doing the thing, no cap:

kccachetest order [-th num] [-rnd] [-etc] [-tran] [-tc] [-bnum num] [-capcnt num] [-capsiz num] [-lv] rnum
  • Performs in-order tests. πŸ¦‹
kccachetest queue [-th num] [-it num] [-rnd] [-tc] [-bnum num] [-capcnt num] [-capsiz num] [-lv] rnum
  • Performs queuing operations. 🌸
kccachetest wicked [-th num] [-it num] [-tc] [-bnum num] [-capcnt num] [-capsiz num] [-lv] rnum
  • Performs mixed operations selected at random. 😭 (the chaos mode, we love her)
kccachetest tran [-th num] [-it num] [-tc] [-bnum num] [-capcnt num] [-capsiz num] [-lv] rnum
  • Performs test of transaction. πŸ’œ

πŸŽ€ OPTIONS πŸŽ€

the options feature the following, and yes bestie, we're listing every single one because they all matter:

  • -th num β€” specifies the number of worker threads. πŸ‘‘
  • -rnd β€” performs random test. 🎲 vibe check: randomized
  • -etc β€” performs miscellaneous operations. πŸ™ˆ
  • -tran β€” performs transaction. πŸ’«
  • -tc β€” tunes the database with the compression option. πŸ”₯
  • -bnum num β€” specifies the number of buckets of the hash table. πŸͺ£
  • -capcnt num β€” specifies the maximum number of records. πŸ“š
  • -capsiz num β€” specifies the maximum size of memory usage. 🧠
  • -lv β€” reports all errors. πŸ‘€ not one, not some β€” all of them
  • -it num β€” specifies the number of repetition. πŸ”

🌈 friendly lil heads up: this command returns 0 on success, and another value on failure. so if you get a nonzero back, that's the universe telling you something went sideways. 😭

and that's the whole page, bestie β€” this one's from the Kyoto Cabinet manual set, dated 2012-05-24, and the footer says Man Page which is very demure, very mindful of it. mwah, go test something. πŸ’…βœ¨