Commit b6efcf8e authored by Xi Cheng's avatar Xi Cheng Committed by Commit Bot

Correct comments for kMaxPendingProfiles

Bug: 903972
Change-Id: Iba29af4d63e0e8dc68c728d0965e22c11bed8653
Reviewed-on: https://chromium-review.googlesource.com/c/1343354Reviewed-by: default avatarMike Wittman <wittman@chromium.org>
Commit-Queue: Xi Cheng <chengx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609535}
parent 98dc58ec
...@@ -19,11 +19,11 @@ namespace metrics { ...@@ -19,11 +19,11 @@ namespace metrics {
namespace { namespace {
// Cap the number of pending profiles to avoid excessive memory usage when // Cap the number of pending profiles to avoid excessive performance overhead
// profile uploads are delayed (e.g. due to being offline). Capping at this // due to profile deserialization when profile uploads are delayed (e.g. due to
// threshold loses approximately 0.5% of profiles on canary and dev. // being offline). Capping at this threshold loses approximately 0.5% of
// TODO(chengx): Remove this threshold after moving to a more memory-efficient // profiles on canary and dev.
// profile representation. // TODO(chengx): Remove this threshold after crbug.com/903972 is fixed.
const size_t kMaxPendingProfiles = 1250; const size_t kMaxPendingProfiles = 1250;
// PendingProfiles ------------------------------------------------------------ // PendingProfiles ------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment