Index: content/child/blob_storage/webblobregistry_impl.cc |
diff --git a/content/child/blob_storage/webblobregistry_impl.cc b/content/child/blob_storage/webblobregistry_impl.cc |
index a1ef5bec59a67a9dac487332357d30ed32c6d922..5032ed19446c6116fb48c6f6f4f487d922779a9e 100644 |
--- a/content/child/blob_storage/webblobregistry_impl.cc |
+++ b/content/child/blob_storage/webblobregistry_impl.cc |
@@ -12,6 +12,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/shared_memory.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/metrics/histogram_macros.h" |
#include "base/numerics/safe_conversions.h" |
#include "base/trace_event/trace_event.h" |
#include "content/child/blob_storage/blob_consolidation.h" |
@@ -111,6 +112,9 @@ void WebBlobRegistryImpl::removeBlobDataRef(const WebString& uuid) { |
void WebBlobRegistryImpl::registerPublicBlobURL(const WebURL& url, |
const WebString& uuid) { |
+ // Measure how much jank the following synchronous IPC introduces. |
+ SCOPED_UMA_HISTOGRAM_TIMER("Storage.Blob.RegisterPublicURLTime"); |
+ |
sender_->Send(new BlobHostMsg_RegisterPublicURL(url, uuid.utf8())); |
} |