Skip to content

Commit

Permalink
[DevTools] Add count histograms for workspace files/folders.
Browse files Browse the repository at this point in the history
Bug: chromium:1447968
Change-Id: I4c79d581fc4b9272842d59d70ea85798084ea1a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4618253
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159373}
  • Loading branch information
bmeurer authored and Chromium LUCI CQ committed Jun 18, 2023
1 parent 7dc77ef commit 2c02c37
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tools/metrics/histograms/metadata/dev/histograms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,26 @@ chromium-metrics-reviews@google.com.
</summary>
</histogram>

<histogram name="DevTools.Workspaces.NumberOfDirectoriesTraversed"
units="count" expires_after="M120">
<owner>bmeurer@chromium.org</owner>
<owner>hablich@chromium.org</owner>
<summary>
Number of directories within a workspace folder traversed while loading the
files from the folder.
</summary>
</histogram>

<histogram name="DevTools.Workspaces.NumberOfFilesLoaded" units="count"
expires_after="M120">
<owner>bmeurer@chromium.org</owner>
<owner>hablich@chromium.org</owner>
<summary>
Number of files loaded from a workspace folder (after the exclusion patterns
are applied).
</summary>
</histogram>

<histogram name="DevTools.Workspaces.PopulateWallClockTime" units="ms"
expires_after="M120">
<owner>bmeurer@chromium.org</owner>
Expand Down

0 comments on commit 2c02c37

Please sign in to comment.