eventstore: delete badger, it's too buggy.
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
|
||||
"fiatjaf.com/nostr"
|
||||
"fiatjaf.com/nostr/eventstore"
|
||||
"fiatjaf.com/nostr/eventstore/badger"
|
||||
"fiatjaf.com/nostr/eventstore/lmdb"
|
||||
"fiatjaf.com/nostr/eventstore/slicestore"
|
||||
)
|
||||
@@ -28,12 +27,6 @@ func BenchmarkLMDB(b *testing.B) {
|
||||
runBenchmarkOn(b, l)
|
||||
}
|
||||
|
||||
func BenchmarkBadger(b *testing.B) {
|
||||
d := &badger.BadgerBackend{Path: dbpath + "badger"}
|
||||
d.Init()
|
||||
runBenchmarkOn(b, d)
|
||||
}
|
||||
|
||||
func runBenchmarkOn(b *testing.B, db eventstore.Store) {
|
||||
for i := 0; i < 10000; i++ {
|
||||
eTag := make([]byte, 32)
|
||||
|
||||
Reference in New Issue
Block a user