commit | 9fb58b1cc66e41220b4280c4a29dd66857f694e6 | [log] [tgz] |
---|---|---|
author | Max Curran <curranmax@chromium.org> | Thu Mar 18 20:27:11 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 18 20:27:11 2021 |
tree | 4bffd0b6c643a3e369e97147829424bce716730b | |
parent | d2149185fd1100fb7e100174be0a821e77c3231b [diff] |
[Translate Metrics] Added UMA histogram to track the time it takes the Translate Ranker to run. This CL adds a page load frequency UMA histogram to TranslateMetricsLoggerImpl that logs the amount of time it takes for the Translate Ranker to run for each page load. This histogram is only recorded on page loads where the Translate Ranker is queried. On page loads where the ranker is not queried, no samples are logged. Full design doc: https://docs.google.com/document/d/1dyWh1Xw5VgUA00VA-5PTgKQ6ItziPBnSyeDR8saJ9vM/edit# Bug: 1114868 Change-Id: I7609dec2f816382d0612875c824ed261d084e83a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2761937 Commit-Queue: Max Curran <curranmax@chromium.org> Reviewed-by: Trevor Perrier <perrier@chromium.org> Reviewed-by: Ryan Sturm <ryansturm@chromium.org> Reviewed-by: Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#864406}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.