mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 08:35:55 +00:00
add docs about Benchmark Name field
This commit is contained in:
parent
e6a2a156d5
commit
4dd2f490e1
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