Issue 1448180 in chromium: Remove expired histograms DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult

0 views
Skip to first unread message

histogram-eraser via monorail

unread,
May 23, 2023, 11:50:10 AM5/23/23
to layou...@chromium.org
Status: Untriaged
Owner: ----
CC: layou...@chromium.org, dr...@chromium.org
Labels: Hotlist-ExpiredHistograms-CodeHealthRotation
Components: Internals>Core
Pri: 3
Type: Task

New issue 1448180 by histogra...@uma-hrd.google.com.iam.gserviceaccount.com: Remove expired histograms DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult
https://bugs.chromium.org/p/chromium/issues/detail?id=1448180

The following histograms are marked as expired in histograms.xml but still exist in the codebase:
- DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult (expired as of 2022-10-15)

The following code locations were found:

content/browser/renderer_host/dwrite_font_proxy_impl_win.cc:642:
"DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult", hr);

As these histograms are expired, no data for them gets collected. To reduce technical debt, the logging code for these histograms should be removed, including any supporting code. This is the recommended course of action for the majority of such histograms.

In rare cases, a histogram's code should be kept around, such as for debugging purposes. Such histograms must be clearly annotated in histograms.xml per the following instructions:
https://chromium.googlesource.com/chromium/src/+/HEAD/tools/metrics/histograms/README.md#Intentionally-expired-histograms

If you're an owner of any of the histograms, please triage this bug and either:
- If the histogram should be removed:
- Recommended: Mark the bug as Available and add the label Proj-CodeHealthRotation-Bug.
- Or, assign to yourself if you'd prefer to do the clean up yourself.
- Otherwise, annotate the histograms as intentionally expired (see above) and update the bug.
- If you believe the bug was filed in error, cc:asvi...@chromium.org and mention the problem.

Available bugs with the label Proj-CodeHealthRotation-Bug will be eligible for cleanup by participants in the code health rotation.

If the bug is left in the Untriaged state without any activity by histogram owner(s), we will consider that the histogram is not needed and it will be considered for removal.

--
You received this message because:
1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment or make updates.

awscreen via monorail

unread,
Jun 29, 2023, 5:06:30 PM6/29/23
to layou...@chromium.org
Updates:
Owner: awsc...@chromium.org
Status: Started

Comment #1 on issue 1448180 by awsc...@chromium.org: Remove expired histograms DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult
https://bugs.chromium.org/p/chromium/issues/detail?id=1448180#c1

(No comment was entered for this change.)

Git Watcher via monorail

unread,
Jul 5, 2023, 5:06:12 PM7/5/23
to layou...@chromium.org
Updates:
Status: Fixed

Comment #2 on issue 1448180 by Git Watcher: Remove expired histograms DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult
https://bugs.chromium.org/p/chromium/issues/detail?id=1448180#c2

The following revision refers to this bug:
https://chromium.googlesource.com/chromium/src/+/097aa32ea480f48c2b79247d73176ad6993f58fa

commit 097aa32ea480f48c2b79247d73176ad6993f58fa
Author: Alan Screen <awsc...@chromium.org>
Date: Wed Jul 05 21:05:29 2023

[CodeHealth] Drop DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult

Remove histogram which has long since expired.

OBSOLETE_HISTOGRAM[DirectWrite.Fonts.Proxy.GetSystemFontCollectionResult]=No longer useful

Fixed: 1448180
Change-Id: Id62bbb4e2309a3376fdebf0e25585eecb31692c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4656017
Reviewed-by: Dominik Röttsches <dr...@chromium.org>
Commit-Queue: Alan Screen <awsc...@chromium.org>
Reviewed-by: Robert Kaplow <rka...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1166144}

[modify] https://crrev.com/097aa32ea480f48c2b79247d73176ad6993f58fa/tools/metrics/histograms/metadata/direct/histograms.xml
[modify] https://crrev.com/097aa32ea480f48c2b79247d73176ad6993f58fa/content/browser/renderer_host/dwrite_font_proxy_impl_win.cc
Reply all
Reply to author
Forward
0 new messages