BIG fps dif. 40 vs 360 fps what's happening?

Blitz3D Forums/Blitz3D Programming/BIG fps dif. 40 vs 360 fps what's happening?

Boulderdash(Posted 2005) [#1]
Frames Per Second readings of 30-40 while I get 360 - 450 FPS.
()


Shambler(Posted 2005) [#2]

I use rect 0,0,450,400 to blank the screen each frame.



My money is on that, can't you use Cls instead?


Bouncer(Posted 2005) [#3]
Cls is not any faster than copyrect..


jfk EO-11110(Posted 2005) [#4]
well rect isn't copyrect. rect is a 2d primitive command. tho it's fairly fast, but probably this depends on the graphics card. But I would rather say it has something to do with the bus speed.
Writepixelfast's speed depends on the bus performence a lot. I would suggest to make a test app that is checking the speed of writepixelfast and readpixelfast only and ask your friend to run it. To make things easy, the app may write the results to a text file, so your friend can mail it to you.

Especially when you writepixelfast to an image that is located in the VRam, this may be pretty slow because the system has to "take the bus" and no matter how fast the cpu or 3d chip is, if there's rush hour, it will take some time to go from A to B.


dynaman(Posted 2005) [#5]
It could also be the old Nvidia bug from a couple of drivers back (if he has an Nvidia chipset)


Boulderdash(Posted 2005) [#6]
I have tested the speed of "Rect" vs "cls" the results where to close to see any diffence, in fact clearing the screen has to performance hit at all! on my PC.


Boulderdash(Posted 2005) [#7]
ditch win98se!