blob: ad0afcf4deb63f97b756f071764bbb713c49eb40 [file] [log] [blame]
// package benchmark provides simple tools to measure the performance of the
// IPC system.
package benchmarks
type Benchmark interface {
// Echo returns the payload that it receives.
Echo(Payload []byte) ([]byte, error)
// EchoStream returns the payload that it receives via the stream.
EchoStream() stream<[]byte,[]byte> error
}