1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-11 02:13:41 +09:00

Add example benchmark

This commit is contained in:
mcrakhman 2021-11-28 12:41:59 +01:00
parent f97bbd5a77
commit 582517278c
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -220,6 +220,9 @@ func updateDetails(store objectstore.ObjectStore, ids []string, detailsCount int
}
func main() {
// go run dbbenchmark.go -p localstore -keys 3000 -det_count 200 -rel_count 10 -isv3 false -s false
// this should be read as total keys 3000, entries in details struct - 200, entries in relations - 10
// using badger v3 - false, sync writes - false
flag.Parse()
if *path == "" {
flag.PrintDefaults()