New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 688439 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Launch-OWP
Launch-Accessibility: ----
Launch-Exp-Leadership: ----
Launch-Leadership: ----
Launch-Legal: ----
Launch-M-Approved: ----
Launch-M-Target: ----
Launch-Privacy: ----
Launch-Security: ----
Launch-Test: ----
Launch-UI: ----
Rollout-Type: ----

Blocking:
issue 120796
issue 674593


Show other hotlists

Hotlists containing this issue:
Non-Standard-IDL


Sign in to add a comment

Ship Long Task API

Project Member Reported by panicker@chromium.org, Feb 3 2017

Issue description


Change description:
API to enable applications to detect presence of “long tasks” that monopolize the UI thread for extended periods of time and block other critical tasks from being executed - e.g. reacting to user input.

Changes to API surface:
- new interface: PerformanceLongTaskTiming (type of PerformanceEntry)
- new interface: TaskAttributionTiming (type of PerformanceEntry)

Links:
Explainer: https://github.com/wicg/longtasks/
Spec: https://wicg.github.io/longtasks/

Support in other browsers:
Internet Explorer: No
Firefox: No
Safari: No

*Make sure to fill in any labels with a -?, including all OSes this change
affects. Feel free to leave other labels at the defaults.

 
Cc: ahbeng@chromium.org
Labels: OS-All
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 14 2017

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

commit 9775bfee2b12b717b138928078f95ff524af5564
Author: panicker <panicker@chromium.org>
Date: Tue Feb 14 04:07:05 2017

Flip flag for Long Tasks to stable
I2S thread: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Mx9q5WXunSE

BUG= 688439 

Review-Url: https://codereview.chromium.org/2685183002
Cr-Commit-Position: refs/heads/master@{#450235}

[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces-expected.txt
[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces-script-added-expected.txt
[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces-script-added.html
[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces.html
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt
[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/virtual/origin-trials-features-disabled/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces-expected.txt
[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/virtual/origin-trials-features-disabled/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces-script-added-expected.txt
[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/virtual/stable/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces-expected.txt
[delete] https://crrev.com/82e2114b9d4b41b5d619e0a401b77caf3074a97c/third_party/WebKit/LayoutTests/virtual/stable/http/tests/origin_trials/webexposed/longtask-origin-trial-interfaces-script-added-expected.txt
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/Source/core/timing/Performance.cpp
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.idl
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/Source/core/timing/TaskAttributionTiming.idl
[modify] https://crrev.com/9775bfee2b12b717b138928078f95ff524af5564/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5

Comment 4 by rbyers@chromium.org, Mar 22 2017

Blocking: 120796

Comment 5 by lunalu@chromium.org, Mar 31 2017

Blocking: 674593
Are we planning to standardize PerformanceLongTaskTiming anytime in the future? 

Comment 6 by panicker@google.com, Mar 31 2017

This is shipping in M58.
The bug is only open for tracking until M58 hits stable.

Cc: foolip@chromium.org
Status: Fixed (was: Assigned)
Project Member

Comment 9 by bugdroid1@chromium.org, Aug 10

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

commit f7e49bb7e6e967296e5f74697d54860ed66653fd
Author: Eric Willigers <ericwilligers@chromium.org>
Date: Fri Aug 10 10:38:35 2018

Retire LongTaskObserver runtime flag

The LongTaskObserver API enables applications to detect presence of
“long tasks” that monopolize the UI thread for extended periods of
time and block other critical tasks from being executed.
https://codereview.chromium.org/2685183002
https://www.chromestatus.com/feature/5738471184400384

BUG= 688439 

Change-Id: Ibfa8745abd6ff4a670fa94859b7d211d10ab489c
Reviewed-on: https://chromium-review.googlesource.com/1166621
Reviewed-by: Shubhie Panicker <panicker@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582110}
[modify] https://crrev.com/f7e49bb7e6e967296e5f74697d54860ed66653fd/third_party/blink/renderer/platform/runtime_enabled_features.json5

Sign in to add a comment