Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockResult ¶
type BlockResult struct { Number int64 `json:"blockNumber"` Time time.Time `json:"created"` Transactions int64 `json:"numTransactions"` GasUsed int64 `json:"gasUsed"` GasLimit int64 `json:"gasLimit"` }
BlockResult is the single-block test run result
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector is the transaction / block stat collector. This implementation will heavily change when transaction indexing is introduced
func NewCollector ¶
NewCollector creates a new instance of the collector
type RunResult ¶
type RunResult struct { AverageTPS int `json:"averageTPS"` Blocks []*BlockResult `json:"blocks"` }
RunResult is the complete test-run result
Click to show internal directories.
Click to hide internal directories.