forked from valkey-io/valkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
FUNCTION LOAD
and FCALL
benchmark
This commit adds two new benhchmarks to `valkey-benchmark` tool. The `FUNCTION LOAD` benchmark evaluates the performance of loading new Lua scripts. This benchmark is parameterized by the number of functions that are present in the script. To control the number of functions we can use the CLI option `--num-functions-in-script`. The `FCALL` benchmarks evaluates the perfomance of calling a Lua function of a previously loaded script. This benchmark is parameterized by the number of keys that are passed in the `FCALL` command. To control the number of keys we can use the CLI option `--num-keys-in-fcall`. Signed-off-by: Ricardo Dias <[email protected]>
- Loading branch information
Showing
1 changed file
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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