Last active
December 19, 2023 17:30
-
-
Save starstuck/91ab432e92e5af5758b93d656268f9e4 to your computer and use it in GitHub Desktop.
Q/kdb benchmark
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple Q benchmark | |
// | |
// example call: | |
// | |
// q bench.q -s 8 | |
STDOUT: -1 | |
COUNT: 5000 | |
EXAMPLES:(enlist ".Q.btoa[\"Hello World!\"]") | |
qrys:COUNT?EXAMPLES | |
hSym: `:localhost:5042 | |
ms: value"\\t {hSym x} peach qrys" | |
STDOUT(string COUNT%ms%60000)," calls per minute"; | |
\\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment