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 *cryptolib.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 *cryptolib.KeyPair)
RunBenchmarkSync processes requests synchronously, producing 1 block per request
Types ¶
Click to show internal directories.
Click to hide internal directories.