mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-09 12:27:52 +00:00
add docs about Benchmark Name field
This commit is contained in:
parent
583c16e8e7
commit
145e75d8ad
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@ type Benchmark interface {
|
|||
// it is being run simultaneously on multiple "agents". E.G. the agentNum
|
||||
// might be used to make a random seed different for each agent, or have
|
||||
// each agent set a different set of bits. Init's doc string should document
|
||||
// how the agentNum affects it.
|
||||
// how the agentNum affects it. Every benchmark should have a 'Name' field
|
||||
// set by init, which appears when the benchmark is marshalled to json as
|
||||
// "name".
|
||||
Init(hosts []string, agentNum int) error
|
||||
|
||||
// Run runs the benchmark. The return value of Run is kept generic so that
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue