Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2123)

Unified Diff: chrome/browser/resources/file_manager/js/directory_model.js

Issue 22815003: Add detailed performance histograms to Files.app. (Abandoned) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed histograms. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/file_manager/js/directory_model.js
diff --git a/chrome/browser/resources/file_manager/js/directory_model.js b/chrome/browser/resources/file_manager/js/directory_model.js
index f1c5f973d418d3ddb17fedd265e2b55ed35b69f7..03837ce01ac344fc7ca460349585160dc3d7096d 100644
--- a/chrome/browser/resources/file_manager/js/directory_model.js
+++ b/chrome/browser/resources/file_manager/js/directory_model.js
@@ -1175,11 +1175,11 @@ DirectoryModel.prototype.selectIndex = function(index) {
* @private
*/
DirectoryModel.prototype.updateRoots_ = function(opt_callback) {
- metrics.startInterval('Load.Roots');
+ metrics.startInterval('UpdateRootsTime');
DirectoryModelUtil.resolveRoots(
this.root_, this.driveEnabled_,
function(rootEntries) {
- metrics.recordInterval('Load.Roots');
+ metrics.recordInterval('UpdateRootsTime');
var rootsList = this.rootsList_;
rootsList.splice.apply(
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698