compaction changed to .idx based deletion
This commit is contained in:
@@ -84,7 +84,7 @@ func TestCompaction(t *testing.T) {
|
||||
}
|
||||
|
||||
startTime := time.Now()
|
||||
v.Compact(0, 1024*1024)
|
||||
v.Compact2(0)
|
||||
speed := float64(v.ContentSize()) / time.Now().Sub(startTime).Seconds()
|
||||
t.Logf("compaction speed: %.2f bytes/s", speed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user