Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Google Chrome Speeds up program.

4: Adsense

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   

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.....:)



#2 wintertime   Members   

4073
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   Members   

3588
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   

1367
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.