Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Check your FPS for no reason at all

 
Post new topic   Reply to topic Printable version
 View previous topic  Rubik's Cubes.. Post :: Post April Fools :D  View next topic  
Author Message
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Apr 01, 2006 4:24 pm   Post maybe stupid    Post subject: Check your FPS for no reason at all Reply to topic Reply with quote

Does anyone want to run this program and tell me what FPS they are getting?



I'm predicting everyone's FPS will be similar since there are a low number of map objects and the resolution is low. I'm interested on how this performs on low end machines, fx: integrated graphics, low cpu mhz.

To get a low FPS click on the tabs as soon as the program loads, it calculates an average FPS since the program started, not for the last 5 seconds or so.

I'd like to point out that I'm not asking for help with writing code and it is sort of subspace related. Plus I'll probably get a wider audience in trash talk than in coding help forum.
_________________
ss news




ap1.zip - 170.21 KB
File downloaded or viewed 35 time(s)

instructions.png - 36.47 KB
File downloaded or viewed 32 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sat Apr 01, 2006 4:33 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

idling, I get ~61 fps with 170 particles

running all the ships through, I get ~60 fps with 1000 particles
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
HookerRella89
Guest


Offline

PostPosted: Sat Apr 01, 2006 4:39 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I get 70. I have an Intel Extreme 2 96 MB right now. Im about to get a GeForce 256 MB.
Back to top
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sat Apr 01, 2006 4:43 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

48 FPS with about 150 particles


48 FPS with about 650 particles with ships flying
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Sat Apr 01, 2006 4:48 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I was getting ~79 fps and about 1200-1300 max on the particles when wheeling.

256mb nvidia and 3.2ghz
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sat Apr 01, 2006 5:27 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

50 fps with 160 particles. I get a solid 128 fps in Subspace running at 1600x1200x32. Is it SDL overhead or something about the timer you are using?
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Sat Apr 01, 2006 6:31 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

90fps with 1300 particles running at max load. This is in Wine (fglrx drivers for a 9800, 1gb ram, p4 2.4ghz).
_________________
Oldbie Server Help
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
wEaViL
Don't make me turn this forum around!


Age:45
Gender:Gender:Male
Joined: Feb 17 2003
Posts: 829
Location: nc usa
Offline

PostPosted: Sat Apr 01, 2006 7:23 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Idle
67 fps
190 - 200 particles

In use
64 - 65 fps
950 - 1000 particles

1.47ghz amd xp 1700+
768mb ram
128mb geforce 5200 fx
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Apr 01, 2006 8:12 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Mr Ekted wrote:
50 fps with 160 particles. I get a solid 128 fps in Subspace running at 1600x1200x32. Is it SDL overhead or something about the timer you are using?
I'll let you decide:
Code wise it takes 5 trig functions to create 1 contrail particle. Ships uses 2-3 trig functions every update. Every particle is updated at most every 10ms, the ships perform additional updates at most every 50ms for rotation. Also everything on screen is stored as x1000 so there's going to be all those conversions back to screen pixels. Lastly there is no collision detection yet (per tick trace will probably be expensive).

SDL side, SDL_Delay() on linux has been noted to take 20% cpu. Higher resolutions have been seen to give a frame rate drop (this was using a tilemap in another program). This time I'm going for an all lvz style mapobject design. (I'll need to partition the map somehow).

Something to note is the whole screen is redrawn every tick, not just the bits that changed, there could be a pay off for keeping track of rectangular areas that need repainting, otherwise it could be setting 1600x1200 ~2million pixels individually every frame (but modern FPS's obviously redraw the whole screen every frame...).


Last edited by Smong on Sat Apr 01, 2006 8:18 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sat Apr 01, 2006 8:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Ya don't bother trying to get "smart" with update regions. It's not worth it.
Back to top
View users profile Send private message Add User to Ignore List
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Sun Apr 02, 2006 12:44 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Idling - 43 FPS and 135 particles

Ships Flying - 49 FPS and 750 particles

Intel gfx card, integrated, 64MB

1.81GHZ and 248mb of ram
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Apr 02, 2006 12:56 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Oh mine is on-board 4MB Intel something...
Back to top
View users profile Send private message Add User to Ignore List
Cerium
Server Help Squatter


Age:43
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Sun Apr 02, 2006 1:12 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Mr Ekted wrote:
Ya don't bother trying to get "smart" with update regions. It's not worth it.


Why? Even if its a very simple method it could save a lot of work redrawing.
_________________
There are 7 user(s) ignoring me right now.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sun Apr 02, 2006 8:20 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Cerium wrote:
Why? Even if its a very simple method it could save a lot of work redrawing.


Because eventually, the display WILL get complex. The overhead of keeping track and slicing up the window will almost match the draw time. All that for code that is much more complicated to write and maintain.
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Apr 02, 2006 11:10 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I get just about a constant FPS in the low 40s, seemingly independent of the number of particles or ships. 64MB geforce4 with 1.2gHz processor (but using only ~50%).
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 36 page(s) served in previous 5 minutes.

phpBB Created this page in 0.693871 seconds : 41 queries executed (83.7%): GZIP compression disabled