Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#33525 closed defect (bug) (fixed)

CSS animations cause high cpu

Reported by: programmin's profile programmin Owned by: azaozz's profile 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
8 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
8 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.

Version 0, edited 8 years ago by azaozz (next)
Note: See TracTickets for help on using tickets.