[webkit-dev] JavaScriptCore slowdown

Rodney Dowdall rdowdall at cranksoftware.com
Mon Jun 29 07:45:09 PDT 2015



On 06/29/2015 03:16 AM, Sergio Villar Senin wrote:
> On 28/06/15 16:27, Rodney Dowdall wrote:
>> The only other question I have is if there is some sort of throttle on
>> the JavaScript callbacks.  The reason I ask is because no matter what I
>> do, the following page:
>>
>> http://bubblemark.com/dhtml.htm
>>
>> I only get 60 fps.  For this page the "fps" is a bit of misnomer because
>> they are just measuring the number of times they get a call in to their
>> JavaScript code.  It doesn't seem to matter how many balls I draw on the
>> screen, I always get 60 fps .
> Not completly sure about the mac port but I think it does the same as
> gtk, i.e, they used that magic value of 60fps as a reference for the
> accelerated compositor to know when to generate new frames.
Hello Sergio

That may be the case.  I'll look in to it after I look at our ports 
timer implementation.

Tim Horton shared the following site with me:

http://www.belshe.com/test/timers.html

and it would appear that we have some clock drift with our ports timer 
implementation.  I am going to fix that first and then see if I get a 
better FPS on that page.

Thanks,
Rodney

>
> BR
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list