WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#33525 closed defect (bug) (fixed)

CSS animations cause high cpu

Reported by: programmin Owned by: azaozz
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.3
Component: TinyMCE Keywords:
Focuses: ui, javascript, performance Cc:

Description

Animations such as those on

.wpview-loading ins

cause high cpu (>50percent of one on my i5)

If I replace "linear" with, say, "steps(12)" it goes down to a reasonable cpu load.

Change History (2)

#1 @azaozz
4 years ago

  • Focuses administration removed
  • Milestone changed from Awaiting Review to 4.5

12 steps seems too choppy. Tried 36 and shortening the ins a bit. That reduced the CPU usage here by more than half: was 8-9 now is 3-4, GPU at 1-2 as reported by Chrome's task manager, 5 years old i5).

#2 @azaozz
4 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 36976:

TinyMCE: tweak the small animation shown while waiting for wpView data to make it sell CPU intensive.

Props programmin.
Fixes #33525.

Last edited 4 years ago by azaozz (previous) (diff)
Note: See TracTickets for help on using tickets.