Changhao Han 097956ebb5 Improve rendering performance in the Computed Styles pane
Currently the Computed Styles pane renders several hundreds of computed
styles in a single cycle, which means creating, appending, layout-out,
rendering, and painting hundreds of heavily styled <li> items that
contains widgets and children. This can create a visual lag ranging
from ~100ms to ~1s. This CL breaks down these operations into smaller
batches, and queues them using browser's requestIdleCallback to provide
an instant rendering feedback.

tracing before: https://chromedevtools.github.io/timeline-viewer/?loadTimelineFromURL=https://gist.githubusercontent.com/hanselfmu/424153ea140df049800e716031882238/raw/c62f1561cf4f56c1c5c869325015f3d99ab65637/computed_tab_perf_before.json
tracing after: https://chromedevtools.github.io/timeline-viewer/?loadTimelineFromURL=https://gist.github.com/hanselfmu/5fdc43d3ae878aed82e79ff3af3c1ed6/raw/7d5095dfde0236eccafe53ec0fb22356e303afb9/computed_tab_perf_after.json

Bug: chromium:1100148, chromium:1106251, chromium:1093263
Change-Id: Id0acbf91542280b026fdb67e28097bdb445606ea
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2308547
Commit-Queue: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2020-07-22 12:30:40 +00:00
2020-06-22 08:12:13 +00:00
2020-04-30 17:56:46 +00:00
2019-10-23 08:51:49 +00:00
2020-05-29 14:29:42 +00:00
2020-05-15 10:33:36 +00:00
2020-07-20 06:26:17 +00:00
2020-07-03 11:49:49 +00:00
2020-07-16 10:18:25 +00:00

Chrome DevTools frontend

npm package

The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.

Source code

The frontend is available on chromium.googlesource.com.

Design guidelines

Please be aware that DevTools follows additional development guidelines.

Issue triage

The issue triage guidelines can be found here.

Workflows

Instructions to set up, use, and maintain a DevTools frontend checkout can be found here.

Additional references

Source mirrors

DevTools frontend repository is mirrored on GitHub.

DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.

The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.

Getting in touch

S
Description
No description provided
Readme BSD-3-Clause
1.1 GiB
Languages
TypeScript 88.2%
JavaScript 5.7%
CSS 3%
HTML 1.4%
Python 0.8%
Other 0.8%