Documentation ¶
Overview ¶
package solobench provides tools to benchmark contracts running under solo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBenchmarkAsync ¶
func RunBenchmarkAsync(b *testing.B, chain *solo.Chain, reqs []*solo.CallParams, keyPair *ed25519.KeyPair)
RunBenchmarkAsync processes requests asynchronously, producing 1 block per many requests
func RunBenchmarkSync ¶
func RunBenchmarkSync(b *testing.B, chain *solo.Chain, reqs []*solo.CallParams, keyPair *ed25519.KeyPair)
RunBenchmarkSync processes requests synchronously, producing 1 block per request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.