[Webkit-unassigned] [Bug 32940] [GTK] Progress notification update taking longer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 25 15:23:07 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32940


Estêvão Samuel Procópio <tevaum at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45500|                            |review?
               Flag|                            |




--- Comment #1 from Estêvão Samuel Procópio <tevaum at gmail.com>  2009-12-25 15:23:06 PST ---
Created an attachment (id=45500)
 --> (https://bugs.webkit.org/attachment.cgi?id=45500)
Changing the download throttle conditions

This patch is a proposal for changing the download notification throttle.

The changes are quite simple: 
The code only updates lastElapsed when a progress notification occurs. If we
passed the lastElapsed by more then 0.7 secs from now, we notify again.
I added another static variable, lastNotifiedProgress, that holds the value of
the last notified progress. If we passed more than 1% of the last notified
progress, we notify again.

I must state that this patch is not the final one. I think it's important that
some of you guys try this patch to see if it's good or if we need to think a
better way to do this throttle.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list