• Advertisement
Sign in to follow this  

Really weird FPS drops

This topic is 1586 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am playing with java and I am working on a small game, however when I open the game I get 65 fps.This would normally be fine, but when I open the internet browser it jumps to about 800 fps. Why is this happening?

Share this post


Link to post
Share on other sites
Advertisement

I am playing with java and I am working on a small game, however when I open the game I get 65 fps.This would normally be fine, but when I open the internet browser it jumps to about 800 fps. Why is this happening?

 

it could be your rendering skipping some expensive operations or vsync when the window loses focus, without seeing your code its pretty difficult to guess though.

Share this post


Link to post
Share on other sites

Just curious, are you doing a Swing app, or a framework?  Just some more info for people reading this thread in the future.

Share this post


Link to post
Share on other sites

Probably the internet browser is Chrome which uses beginTimePeriod(1) as part of it's setup. Unfortunately this call has some negative effects on the entire Win32 environment. In your case, the measured FPS goes up either because the timer being used is effected or, the more likely reason, the internal code uses things like Sleep( 1 ) in various locations and now that Sleep( 1 ) is potentially 50 times shorter than expected. This is unfortunately a *BUG* in Chrome, no matter how they want to claim it is required, it is changing the environment for other programs so long as the browser continues to keep time periods set so low.

NOTE: see bugs listed on Chrome: 46531, 153139, 2039, 81693 and plenty of others being pissed about this...

Other people report higher frames in other games in the context of game performance. 

Edited by farmdve

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement