Documentation
¶
Overview ¶
Copyright © 2023 Redis Performance Group performance <at> redis <dot> com
Copyright © 2023 Redis Performance Group performance <at> redis <dot> com
Copyright © 2023 Redis Performance Group performance <at> redis <dot> com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
const ( XREADGROUP int = 0 XADD = 1 XACK = 2 EXPIRE = 3 DEL = 4 XGROUPCREATE = 5 XGROUPCREATECONSUMER = 6 TTL = 7 XLEN = 8 )
const ( DefaultReadBuffer int = 2 << 13 DefaultWriteBuffer int = 2 << 13 )
const Inf = rate.Limit(math.MaxFloat64)
Variables ¶
var GitDirty string = "0"
var GitSHA1 string = ""
Vars only for git sha and diff handling
Functions ¶
Types ¶
type GraphQueryDatapoint ¶ added in v0.0.5
type TestResult ¶ added in v0.0.5
type TestResult struct { Metadata string `json:"Metadata"` Clients uint `json:"Clients"` MaxRps uint64 `json:"MaxRps"` RandomSeed int64 `json:"RandomSeed"` StartTime int64 `json:"StartTime"` EndTime int64 `json:"EndTime"` DurationMillis int64 `json:"DurationMillis"` // Populated after benchmark // Benchmark Totals Totals map[string]float64 `json:"Totals"` // Overall Rates OverallQueryRates []float64 `json:"OverallQueryRates"` // Overall Client Quantiles OverallClientLatencies []map[string]float64 `json:"OverallClientLatencies"` // Per second ( tick ) client stats ClientRunTimeStats map[int64]interface{} `json:"ClientRunTimeStats"` // Per second ( tick ) client stats CmdRateTs map[string][]int `json:"CmdRateTs"` // contains filtered or unexported fields }
func NewTestResult ¶ added in v0.0.5
func NewTestResult(metadata string, clients uint, maxRps uint64) *TestResult
func (*TestResult) FillDurationInfo ¶ added in v0.0.5
func (*TestResult) SetUsedRandomSeed ¶ added in v0.0.5
func (r *TestResult) SetUsedRandomSeed(seed int64) *TestResult