KCLANGCTEST(1)

✨ NAME ✨

okay so bestie, this is KCLANGCTEST(1) β€” the Kyoto Cabinet manual page for kclangctest, and it's literally the command line interface you use to test the C language binding πŸ’–


πŸŽ€ DESCRIPTION πŸŽ€

The command kclangctest is a utility for facility test and performance test of the C language binding. Like, it's the vibe-check tool for whether your C binding is actually doing its thing πŸ¦‹

This command is used in the following format. path specifies the path of a database file. rnum specifies the number of iterations.

kclangctest order [-rnd] [-etc] [-tran] [-oat|-onl|-onl|-otl|-onr] path rnum
kclangctest index [-rnd] [-etc] [-oat|-onl|-onl|-otl|-onr] path rnum
kclangctest map [-rnd] [-etc] [-bnum num] rnum
kclangctest list [-rnd] [-etc] rnum
  • kclangctest order β€” performs in-order tests πŸ‘‘
  • kclangctest index β€” performs indexing operations πŸ”₯
  • kclangctest map β€” performs test of memory-saving hash map 🧚
  • kclangctest list β€” performs test of memory-saving array list 🌸
not me pointing out that -onl shows up twice in that bracket up there πŸ’€ that's literally what the page says, i'm not editing the source material, i would never. keeping it 100% as-is, no cap.

🌈 the options, feature by feature

Options feature the following.

  • -rnd β€” performs random test 🎲
  • -etc β€” performs miscellaneous operations πŸ™ˆ
  • -tran β€” performs transaction πŸ’Έ
  • -oat β€” opens the database with the auto transaction option ✨
  • -oas β€” opens the database with the auto synchronization option 🫢
  • -onl β€” opens the database with the no locking option πŸ”“
  • -otl β€” opens the database with the try locking option πŸ”
  • -onr β€” opens the database with the no auto repair option 🩹
  • -bnum num β€” specifies the number of buckets of the hash table πŸ“

πŸ’œ SEE ALSO πŸ’œ

go read those too bestie, they're giving main character energy ⭐


πŸ¦‹ one last thing

This command returns 0 on success, another on failure β€” so if you get a 0, that's a slay, and literally anything else is the universe telling you something's off 😭


kisses, this page was brought to you by the Kyoto Cabinet girlies πŸ’… the man page date on this one is 2012-05-24, and yeah it's filed under KCLANGCTEST(1) β€” iconic, timeless, periodt. πŸ’–βœ¨