New issue
Advanced search Search tips

Issue 697731 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 553459



Sign in to add a comment

Include task scheduler name in all histograms recorded by task scheduler.

Project Member Reported by fdoray@chromium.org, Mar 2 2017

Issue description

TaskScheduler.BlockShutdownTasksPostedDuringShutdown shouldn't be shared between all process types.

Other histograms shouldn't per shared between browser and non-renderer process types.
(e.g. TaskScheduler.DetachDuration.RendererBackgroundBlockingPool is recorded by renderers and TaskScheduler.DetachDuration.BackgroundBlockingPool is recorded by all other process types).

All histograms should probably be prefixed by:
TaskScheduler.[process type].*
 
Blockedon: -553459
Blocking: 553459
Status: Available (was: Untriaged)

Comment 3 by gab@chromium.org, Jan 22 2018

Owner: gab@chromium.org
Status: Started (was: Available)
Almost there with recent changes, will complete.
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 18

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/37e26ab9b4d327608864e896ade976ec3ac9211b

commit 37e26ab9b4d327608864e896ade976ec3ac9211b
Author: Francois Doray <fdoray@chromium.org>
Date: Thu Oct 18 20:39:08 2018

TaskScheduler: Remove TaskScheduler.BlockShutdownTasksPostedDuringShutdown.

The histogram shows that 99.9% of the time, less than
1000 BLOCK_SHUTDOWN tasks are posted during shutdown. This CL replaces
the histogram with a crash when the number is to high, which will be
more actionnable.

Note: Current histogram data shows that this crash will happen
less than 0.1% of the time.

Bug: 697731
Change-Id: I553caf93b0109a1bd44c5c841d0f557e6cad16cd
Reviewed-on: https://chromium-review.googlesource.com/c/1280670
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Brian White <bcwhite@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600892}
[modify] https://crrev.com/37e26ab9b4d327608864e896ade976ec3ac9211b/base/task/task_scheduler/task_tracker.cc
[modify] https://crrev.com/37e26ab9b4d327608864e896ade976ec3ac9211b/tools/metrics/histograms/histograms.xml

Sign in to add a comment