import "golang.org/x/mobile/bind/benchmark"
Package benchmark contains benchmarking bound functions for internal use.
const (
ShortString = "Hello, World!"
LongString = "" /* 1612 byte string literal not displayed */
ShortStringUnicode = "Hello, 世界!"
LongStringUnicode = "" /* 1732 byte string literal not displayed */
)func Noargs()
func RunBenchmarks(b Benchmarks)
type AnI struct {
}type Benchmarks interface {
// Run runs a named benchmark from a different thread, with
// no native call prior in the stack.
Run(name string, n int)
// RunDirect runs a named benchmark directly, with the native
// context from the call itself.
RunDirect(name string, n int)
// Callbacks for Go benchmarks
NewI() I
Noargs()
Onearg(_ int)
Oneret() int
Ref(_ I)
Manyargs(_, _, _, _, _, _, _, _, _, _ int)
String(_ string)
StringRetShort() string
StringRetLong() string
Slice(_ []byte)
}type I interface {
F()
}Package benchmark imports 2 packages (graph). Updated 6 days ago. Refresh now. Tools for package owners.