[wp-trac] [WordPress Trac] #33322: Theme Installer: spinner animated GIF and high CPU usage
WordPress Trac
noreply at wordpress.org
Sat Oct 17 16:16:00 UTC 2015
#33322: Theme Installer: spinner animated GIF and high CPU usage
--------------------------+-----------------------------
Reporter: afercia | Owner: wonderboymusic
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Themes | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, javascript
--------------------------+-----------------------------
Comment (by afercia):
Refreshed patch. Using the same CSS technique experimented in #33311 the
re-painted area is now just 20px x 20px, see the screenshot below. The CPU
usage is now noticeably lower in Chrome and a bit lower in Firefox even
'''while''' the spinner is being displayed. I'd recommend to consider
using this CSS technique wherever a background spinner is used in the
admin.
Tried also to cache a bit `this.$el`.
[[Image(https://cldup.com/AWjm1-iVse.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33322#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list