From 9c0b0c8a14426c87085ef1ca7c1ed5de2d7b858f Mon Sep 17 00:00:00 2001 From: Dev Ojha Date: Mon, 29 Apr 2024 11:10:05 -0700 Subject: [PATCH] Remove IAVL per-get/delete timing info --- store/iavl/store.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/store/iavl/store.go b/store/iavl/store.go index 80cec4bf4b86..5a2e62cc926a 100644 --- a/store/iavl/store.go +++ b/store/iavl/store.go @@ -204,7 +204,6 @@ func (st *Store) Set(key, value []byte) { // Implements types.KVStore. func (st *Store) Get(key []byte) []byte { - defer telemetry.MeasureSince(time.Now(), "store", "iavl", "get") value, err := st.tree.Get(key) if err != nil { panic(err) @@ -214,7 +213,6 @@ func (st *Store) Get(key []byte) []byte { // Implements types.KVStore. func (st *Store) Has(key []byte) (exists bool) { - defer telemetry.MeasureSince(time.Now(), "store", "iavl", "has") has, err := st.tree.Has(key) if err != nil { panic(err) @@ -224,7 +222,6 @@ func (st *Store) Has(key []byte) (exists bool) { // Implements types.KVStore. func (st *Store) Delete(key []byte) { - defer telemetry.MeasureSince(time.Now(), "store", "iavl", "delete") st.tree.Remove(key) }