You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.8 KiB
YAML
77 lines
2.8 KiB
YAML
4 years ago
|
#
|
||
|
# Created on Tue Nov 03 2020
|
||
|
#
|
||
4 years ago
|
# This file is a part of Skybase
|
||
4 years ago
|
# Copyright (c) 2020, Sayan Nandan <ohsayan at outlook dot com>
|
||
|
#
|
||
|
# This program is free software: you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU Affero General Public License as published by
|
||
|
# the Free Software Foundation, either version 3 of the License, or
|
||
|
# (at your option) any later version.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
# GNU Affero General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU Affero General Public License
|
||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||
|
#
|
||
|
#
|
||
|
|
||
4 years ago
|
name: Skybase Benchmark Tool
|
||
4 years ago
|
version: 0.5.1
|
||
4 years ago
|
author: Sayan N. <ohsayan@outlook.com>
|
||
|
about: |
|
||
4 years ago
|
The Skybase benchmark tool can be used to benchmark Skybase installations.
|
||
|
If you find any issues, then report one here: https://github.com/Skybase/Skybase
|
||
4 years ago
|
args:
|
||
4 years ago
|
- connections:
|
||
|
short: c
|
||
|
long: connections
|
||
|
value_name: count
|
||
|
help: Sets the number of simultaneous clients
|
||
|
takes_value: true
|
||
|
- queries:
|
||
|
short: q
|
||
|
long: queries
|
||
|
value_name: number
|
||
|
help: Sets the number of queries to run
|
||
|
takes_value: true
|
||
|
- size:
|
||
|
short: s
|
||
|
long: kvsize
|
||
|
value_name: bytes
|
||
|
help: Sets the size of the key/value pairs
|
||
|
takes_value: true
|
||
|
- json:
|
||
|
required: false
|
||
|
long: json
|
||
|
help: Sets output type to JSON
|
||
|
takes_value: false
|
||
4 years ago
|
- host:
|
||
|
short: h
|
||
|
required: false
|
||
|
long: host
|
||
|
value_name: host
|
||
|
help: Sets the remote host to connect to
|
||
|
takes_value: true
|
||
|
- port:
|
||
|
short: p
|
||
|
required: false
|
||
|
long: port
|
||
|
value_name: port
|
||
|
help: Sets the remote port to connect to
|
||
|
takes_value: true
|
||
4 years ago
|
subcommands:
|
||
|
- testkey:
|
||
|
about: This can be used to create 'mock' keys
|
||
|
args:
|
||
|
- count:
|
||
|
short: c
|
||
|
required: true
|
||
|
long: count
|
||
|
value_name: NUMBEROFKEYS
|
||
|
help: Sets the number of keys to create
|
||
|
takes_value: true
|