Documentation ¶
Index ¶
- Constants
- Variables
- func ExecTask(name string, bc BenchmarkCase, dgraphCli *dgo.Dgraph, concurrency int)
- func GetFriendsOneHop(dgraphCli *dgo.Dgraph, r *rand.Rand) error
- func GetFriendsTwoHop(dgraphCli *dgo.Dgraph, r *rand.Rand) error
- func InsertFriend(dgraphCli *dgo.Dgraph, r *rand.Rand) error
- func InsertPerson(dgraphCli *dgo.Dgraph, r *rand.Rand) error
- func RandString(n int, r *rand.Rand) string
- func StartPrometheusServer(port int)
- type BenchmarkCase
- type Person
Constants ¶
View Source
const (
MaxUid = 3300000
)
View Source
const (
TypePerson = iota
)
Variables ¶
View Source
var (
BenchTasks = map[string]BenchmarkCase{}
)
Functions ¶
func ExecTask ¶
func ExecTask(name string, bc BenchmarkCase, dgraphCli *dgo.Dgraph, concurrency int)
func StartPrometheusServer ¶
func StartPrometheusServer(port int)
Types ¶
type BenchmarkCase ¶
BenchmarkCase ...
Click to show internal directories.
Click to hide internal directories.