[wp-trac] [WordPress Trac] #32597: mediaelement.js high CPU usage in Firefox

WordPress Trac noreply at wordpress.org
Tue Oct 8 21:40:22 UTC 2019


#32597: mediaelement.js high CPU usage in Firefox
--------------------------------+---------------------
 Reporter:  afercia             |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  reporter-feedback   |     Focuses:
--------------------------------+---------------------

Comment (by afercia):

 @hareesh-pillai just tested with latest Firefox 69 on a macBook Pro. Seems
 when the `mejs-time-buffering` element is hidden with `display: none;` the
 CPU usage is normal. So this seems to be improved, as previously the CPU
 usage increase was happening also with the element hidden.

 As soon as the element with its animation gets visible, the CPU usage
 increases to ~ 20% on my machine. On less powerful hardware the increase
 is likely way higher. Normally, `mejs-time-buffering` should be visible
 for a few seconds or even less but I'd say it still produces an
 undesirable side effect.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32597#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list