New issue
Advanced search Search tips

Issue 653968 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Oct 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Feedback App: Slow Sys Info Page

Project Member Reported by afakhry@chromium.org, Oct 7 2016

Issue description

We have several issues and bottle necks, which became much more pronounced after the logs got much bigger in the post-ARC++ era:

- Table rows are created synchronously in one shot when data is received from C++.
- Expand/Collapse buttons are always created regardless of the line height of the values and then they all get processed at then end as one shot.
- The use of element.scrollHeight is very very slow.
- If the user opens the Sys Info page when the data has already been received from C++ side, the slow creation of the table makes it seem that the page is hung as it remains blank for several seconds until all the contents are created and laid out.

Note: These issues are specific to the Sys Info page of the Feedback App, and not chrome://system.

 

Comment 1 by st...@chromium.org, Oct 7 2016

We should 'ideally' try to share as much code as we can between the Sys Info page and chrome://system. I don't know what issues this would involve though.

Yes, I agree. I will see what I can do about this in the process of fixing the other issue 463689.
I've just sent a CL for review. The end result will be as attached.
SysInfo_Change.webm
24.3 MB Download
abodenha@, do you think it makes sense to merge this change to M55 and M54?
Labels: Merge-Request-55
Per our conversation in the weekly sync, requesting merge for M55 only.

Comment 7 by dimu@chromium.org, Oct 26 2016

Labels: -Merge-Request-55 Merge-Approved-55 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M55 (branch: 2883)

Comment 8 by dimu@chromium.org, Oct 26 2016

Your change meets the bar and is auto-approved for M55 (branch: 2883)
Project Member

Comment 9 by bugdroid1@chromium.org, Oct 26 2016

Labels: -merge-approved-55 merge-merged-2883
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cc3f19f73e42725b9c46224520854531020e671d

commit cc3f19f73e42725b9c46224520854531020e671d
Author: Ahmed Fakhry <afakhry@google.com>
Date: Wed Oct 26 21:24:40 2016

[Merge to M55] Optimize the table creation in the Sys Info page of the feedback app

Removes many bottle necks. Adds spinners to clearly show progress to
the user. Builds the table incrementally to show incremental progress.

TBR=xiyuan@chromium.org
BUG= 653968 
TEST=manually
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2403503003
Cr-Commit-Position: refs/heads/master@{#424842}
(cherry picked from commit 18870e37b4186d6d68529965cac48023436855ab)

Review URL: https://codereview.chromium.org/2454843002 .

Cr-Commit-Position: refs/branch-heads/2883@{#314}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}

[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/about_sys/about_sys.css
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/component_extension_resources.grd
[add] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/css/sys_info.css
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/html/sys_info.html
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/js/feedback.js
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/js/sys_info.js

Status: Fixed (was: Started)
Project Member

Comment 11 by bugdroid1@chromium.org, Oct 27 2016

Labels: merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cc3f19f73e42725b9c46224520854531020e671d

commit cc3f19f73e42725b9c46224520854531020e671d
Author: Ahmed Fakhry <afakhry@google.com>
Date: Wed Oct 26 21:24:40 2016

[Merge to M55] Optimize the table creation in the Sys Info page of the feedback app

Removes many bottle necks. Adds spinners to clearly show progress to
the user. Builds the table incrementally to show incremental progress.

TBR=xiyuan@chromium.org
BUG= 653968 
TEST=manually
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2403503003
Cr-Commit-Position: refs/heads/master@{#424842}
(cherry picked from commit 18870e37b4186d6d68529965cac48023436855ab)

Review URL: https://codereview.chromium.org/2454843002 .

Cr-Commit-Position: refs/branch-heads/2883@{#314}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}

[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/about_sys/about_sys.css
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/component_extension_resources.grd
[add] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/css/sys_info.css
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/html/sys_info.html
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/js/feedback.js
[modify] https://crrev.com/cc3f19f73e42725b9c46224520854531020e671d/chrome/browser/resources/feedback/js/sys_info.js

Verified that the fix works fine on the CrOS Build # 8872.27.0/55.0.2883.29 - Paine, Peppy & Blaze.
Slow Sys Info Page opened via Feedback dialog is responding correctly [for scrolling, expanding/collapsing and etc].
Verified on Chrome 55.0.2883.29/CrOS 8872.27.0 - Candy, Daisy, reks

Comment 14 by dimu@google.com, Nov 4 2016

[Automated comment] removing mislabelled merge-merged-2840

Comment 15 by dimu@google.com, Nov 4 2016

Labels: -merge-merged-2840
[Automated comment] removing mislabelled merge-merged-2840
Status: Verified (was: Fixed)
Based on #12 and #13 closing
Cc: r...@chromium.org
Cc: -st...@chromium.org

Sign in to add a comment