From 9f7896bf4a4cac29d89ffd95308ffa89ff4ec48f Mon Sep 17 00:00:00 2001 From: Keerthi Niranjan Date: Mon, 23 Oct 2017 09:39:24 +0530 Subject: [PATCH] SEARCH-273 - Log for encryption --- js/search/search.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/search/search.js b/js/search/search.js index 72b58afa..b32266cf 100644 --- a/js/search/search.js +++ b/js/search/search.js @@ -208,7 +208,9 @@ class Search { * to the main user index */ encryptIndex() { + console.time('encryption'); return this.crypto.encryption().then(() => { + console.timeEnd('encryption'); return 'Success' }).catch((e) => { return (new Error(e));