benchserver

package
v0.0.0-...-f63575a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2015 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchServer

func BenchServer(t *testing.T)

Types

type B

type B struct {
	N int
	// contains filtered or unexported fields
}

B is a type passed to Benchmark functions to manage benchmark timing and to specify the number of iterations to run.

type InternalBenchmark

type InternalBenchmark struct {
	Name string
	F    func(b *B) // tricky! we secretly replaced *testing.B with *B
}

An internal type but exported because it is cross-package; part of the implementation of the "go test" command.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is the benchmark server state.

func (Server) List

func (s Server) List(args *api.Arg, reply *api.Reply) error

func (Server) Quit

func (s Server) Quit(args *api.Arg, reply *api.Reply) error

func (Server) Run

func (s Server) Run(args *api.Arg, reply *api.Reply) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL