Jump to content

  • Log In with Google      Sign In   
  • Create Account


Google Chrome Speeds up program.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 HelpAtWork   Members   -  Reputation: 121

Like
0Likes
Like

Posted 23 July 2013 - 03:21 AM

I work for a Video Fruit Machine Company. I perform "Autoruns" which verify that a game does pay out what it should over the course of 2Million+ games.

 

While not running google chrome at the same time as my autorun program I get about 1000 games every ten seconds.

 

While running google chrome at the same time I get 1000+ games every second!

 

That is a tenfold (approx) increase in speed.... What is going on?

 

It's not a problem as such, just my curiosity needs satisfying.....:)



Sponsor:

#2 wintertime   Members   -  Reputation: 1601

Like
1Likes
Like

Posted 23 July 2013 - 11:41 AM

I remember reading about similar things a few times and iirc the reason given was that the Flash inside the browser calls a Windows function( timeBeginPeriod(1) ) that changes global timer settings and influences other programs.



#3 Adam_42   Crossbones+   -  Reputation: 2361

Like
0Likes
Like

Posted 23 July 2013 - 02:27 PM

I remember reading about similar things a few times and iirc the reason given was that the Flash inside the browser calls a Windows function( timeBeginPeriod(1) ) that changes global timer settings and influences other programs.

 

That would be my guess too. Maybe you have a Sleep(1) call in your code somewhere. That can sleep for significantly more than 1ms if you haven't done that.



#4 tivolo   Members   -  Reputation: 882

Like
0Likes
Like

Posted 23 July 2013 - 02:39 PM

Chrome raises the timer frequency to 1000 Hz, which it really shouldn't do.

Check out Bruce Dawson's blog for more info on the subject: http://randomascii.wordpress.com/2013/07/08/windows-timer-resolution-megawatts-wasted/#more-1285






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS