From 686b6a334173c40ae91d3cdd7d7d759bf8851df6 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 2 Apr 2014 15:36:53 -0600 Subject: Add performance counters. This commit adds performance counters for each transaction which are rolled up to the database level on each commit/rollback. Counters are meant to be a very fast way to track what is going on in the database. A few timers are also added in areas where the time.Now() overhead is not noticible. The DB.Stat() function is now deprecated since the `bolt` CLI now performs similar functions. Fixes #108. --- bucket_test.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'bucket_test.go') diff --git a/bucket_test.go b/bucket_test.go index e2eb659..c49a923 100644 --- a/bucket_test.go +++ b/bucket_test.go @@ -341,7 +341,6 @@ func TestBucketPutSingle(t *testing.T) { } }) - fmt.Fprint(os.Stderr, ".") index++ return true } @@ -385,7 +384,6 @@ func TestBucketPutMultiple(t *testing.T) { return nil }) }) - fmt.Fprint(os.Stderr, ".") return true } if err := quick.Check(f, qconfig()); err != nil { @@ -442,7 +440,6 @@ func TestBucketDeleteQuick(t *testing.T) { }) } }) - fmt.Fprint(os.Stderr, ".") return true } if err := quick.Check(f, qconfig()); err != nil { -- cgit v1.2.3