benchmark

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2013 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CHANNEL_BUFFER_SIZE = 10000
View Source
const MAX_GOROUTINES = 10000

Variables

This section is empty.

Functions

This section is empty.

Types

type Parent added in v0.2.0

type Parent struct {
	Name     string
	Children []*Person
	*zoom.Model
}

The Parent struct, used for testing many-to-many performance

func NewParent added in v0.2.0

func NewParent(name string) *Parent

A convenient constructor for the Parent struct

type Person

type Person struct {
	Name string
	Age  int
	*zoom.Model
}

The Person struct

func NewPerson

func NewPerson(name string, age int) *Person

A convenient constructor for the Person struct

Jump to

Keyboard shortcuts

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