Documentation ¶
Index ¶
- Constants
- Variables
- func ExecTask(name string, bc BenchmarkCase, dgraphCli *dgo.Dgraph, concurrency int)
- func GetFriendsOneHop(dgraphCli *dgo.Dgraph) error
- func GetFriendsTwoHop(dgraphCli *dgo.Dgraph) error
- func InsertFriend(dgraphCli *dgo.Dgraph) error
- func InsertPerson(dgraphCli *dgo.Dgraph) error
- func RandString(n int) 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 GetFriendsOneHop ¶
func GetFriendsTwoHop ¶
func InsertFriend ¶
func InsertPerson ¶
func RandString ¶
func StartPrometheusServer ¶
func StartPrometheusServer(port int)
Types ¶
type BenchmarkCase ¶
Click to show internal directories.
Click to hide internal directories.