KCPROTOTEST(1)

πŸ’– KCPROTOTEST πŸ’–

okay bestie, welcome to kcprototest β€” it's the KCPROTOTEST(1) page from the Kyoto Cabinet manual, and I'm about to make it make sense. buckle up πŸŽ€


✨ NAME ✨

kcprototest β€” a command line interface to test the prototype database πŸ’…


🌸 DESCRIPTION 🌸

so, kcprototest is a utility for facility test and performance test of the prototype database. it does not play, it does not chill, it runs your little prototype db through its paces. no cap. πŸ”₯

and rnum? that's the number of iterations. literally how many times it's gonna go around the block. ✨

here's the vibe, in the exact format it wants:

kcprototest order [-tree] [-th num] [-rnd] [-etc] [-tran] rnum
kcprototest queue [-tree] [-th num] [-it num] [-rnd] rnum
kcprototest wicked [-tree] [-th num] [-it num] rnum
kcprototest tran [-tree] [-th num] [-it num] rnum

and what each one is giving, one by one:

  • kcprototest order [-tree] [-th num] [-rnd] [-etc] [-tran] rnum β€” performs in-order tests πŸ¦‹
  • kcprototest queue [-tree] [-th num] [-it num] [-rnd] rnum β€” performs queuing operations πŸŽ€
  • kcprototest wicked [-tree] [-th num] [-it num] rnum β€” performs mixed operations selected at random 🎲 (chaotic. iconic.)
  • kcprototest tran [-tree] [-th num] [-it num] rnum β€” performs test of transaction πŸ’œ

🫢 the options (yes, they all matter) 🫢

options feature the following, bestie. read them all, don't skip, I will know:

  • -tree β€” test the prototype tree database instead of the prototype hash database 🌈
  • -th num β€” specifies the number of worker threads. like, how many little helpers are pulling up 🧚
  • -rnd β€” performs random test 🎲
  • -etc β€” performs miscellaneous operations. the little extras, the garnish, the sprinkles πŸ“
  • -tran β€” performs transaction πŸ’³
  • -it num β€” specifies the number of repetition πŸ”

heads up: this command returns 0 on success, and another value on failure. so if you get a zero, she ate. if you don't, something's up 😭

and that's the whole page, bestie, every single crumb of it πŸ’– this was Man Page, served fresh 2012-05-24, straight from Kyoto Cabinet πŸ‘‘ ty for coming to my ted talk, go run your tests, periodt πŸ’…βœ¨