Bug 47985 - High browser CPU usage on the search page of the users/user module
High browser CPU usage on the search page of the users/user module
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.4-0-errata
Assigned To: Johannes Keiser
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-15 14:59 CEST by Johannes Keiser
Modified: 2019-07-01 14:45 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.011
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): UCS Performance
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2018-10-15 14:59:56 CEST
For the users/user module the detail page is pre-created so that opening a user object is faster. But before a user object is loaded the detail page shows a standby animation. This will cause a standby animation to constantly run in the background when the search page of the user/user module is open. (The tab of the users/user module does not even have to be selected. The users/user module just has to have the search page selected.)

The StandbyWidget is not really performant and performs dom manipulations on a high frequency which causes the CPU usage of the browser to rise.
Comment 1 Johannes Keiser univentionstaff 2019-03-15 13:39:15 CET
ef620154eb Bug #47985: YAML
dd68cd19cd Bug #47985: Merge branch 'jkeiser/4.4-0/udm_users_cpu__47985' into 4.4-0
56d96d3426 Bug #47985: YAML
29ca2af511 Bug #47985: debian changelog
b093baf802 Bug #47985: prevent high cpu usage in users/user module

Successful build
Package: univention-management-console-module-udm
Version: 9.0.11-5A~4.4.0.201903151328
Comment 2 Johannes Keiser univentionstaff 2019-03-21 13:27:17 CET
90ab2b5eae Bug #47985: YAML
3521e6b6ab Bug #47985: debian changelog
34d5fe8bde Bug #47985: prevent hight cpu usage in users/user module
Comment 3 Dirk Wiesenthal univentionstaff 2019-03-26 14:55:59 CET
I cannot reproduce the high browser usage. But it does not break anything, the spinner is gone from the DOM and users reported that it actually improved for them. So VERIFIED
Comment 4 Arvid Requate univentionstaff 2019-03-27 13:29:23 CET
<http://errata.software-univention.de/ucs/4.4/27.html>