Home » Community » U++ community news and announcements » UPDATE: New Draw Performance preview revisited
|
Re: UPDATE: New Draw Performance preview revisited [message #118 is a reply to message #114] |
Sat, 26 November 2005 09:10 |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
Not sure what I'm testing here, but here's the results
BTW - the test program has the interesting property of requiring two closes to shut it down ...
maximised window - auto scroll
TIMING Set : 7.5 s - 13.7 ms ( 7.5 s / 546 ), min: 7.0 ms, max: 18.0 ms, nesting: 1 - 546
TIMING DrawRect : 10.3 s - 300.4 us ( 10.3 s / 34134 ), min: 0.0 us, max: 7.0 ms, nesting: 1 - 34134
TIMING Init : 0.0 us - 0.0 us ( 0.0 us / 1 ), min: 0.0 us, max: 0.0 us, nesting: 1 - 1
Two windows tiled vertically, auto scrolling - foreground window gets more CPU time.
TIMING Set : 31.0 s - 10.4 ms ( 31.0 s / 2969 ), min: 1.0 ms, max: 110.0 ms, nesting: 1 - 2969
TIMING DrawRect : 40.6 s - 220.2 us ( 40.6 s / 184245 ), min: 0.0 us, max: 139.0 ms, nesting: 1 - 184245
TIMING Init : 0.0 us - 0.0 us ( 0.0 us / 1 ), min: 0.0 us, max: 0.0 us, nesting: 1 - 1
TIMING Set : 29.0 s - 16.9 ms ( 29.0 s / 1717 ), min: 0.0 us, max: 151.0 ms, nesting: 1 - 1717
TIMING DrawRect : 46.3 s - 434.2 us ( 46.3 s / 106545 ), min: 0.0 us, max: 111.0 ms, nesting: 1 - 106545
TIMING Init : 0.0 us - 0.0 us ( 0.0 us / 1 ), min: 0.0 us, max: 0.0 us, nesting: 1 - 1
Graeme
|
|
|
|
|
|
Re: UPDATE: New Draw Performance preview revisited [message #167 is a reply to message #114] |
Mon, 28 November 2005 21:27 |
kaos
Messages: 2 Registered: November 2005 Location: Germany
|
Junior Member |
|
|
Hi, i tested this little cute app now on my work pc (p4 3ghz, radeon 9200SE) and my home pc (2400+ athlon, radeon 9800pro)
and the results were quite distinct, gdi was slower here in all cases (measured by the fps when auto scrolling).
Interestingly the difference was much less on my work pc then at my home box:
work: gdi: 90fps [dropped to < 50 with cleartype]
mem: 105fps
home: gdi: 22fps [strangely almost no difference to cleartype]
mem: 50fps
the difference in aa on/off was quite negligible
so this is really looking promising to me (while i cant really explain the difference between my work and home pc)
btw: i cant wait for the mac os port (:
[Updated on: Mon, 28 November 2005 21:30] Report message to a moderator
|
|
|
Re: UPDATE: New Draw Performance preview revisited [message #169 is a reply to message #167] |
Mon, 28 November 2005 22:46 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
kaos wrote on Mon, 28 November 2005 15:27 | Hi, i tested this little cute app now on my work pc (p4 3ghz, radeon 9200SE) and my home pc (2400+ athlon, radeon 9800pro)
and the results were quite distinct, gdi was slower here in all cases (measured by the fps when auto scrolling).
Interestingly the difference was much less on my work pc then at my home box:
work: gdi: 90fps [dropped to < 50 with cleartype]
mem: 105fps
home: gdi: 22fps [strangely almost no difference to cleartype]
mem: 50fps
the difference in aa on/off was quite negligible
so this is really looking promising to me (while i cant really explain the difference between my work and home pc)
btw: i cant wait for the mac os port (:
|
Thank you! Posting results really helps me.
BTW, one interesting thing I have found is that the reason why GDI is slow (in case when it is accelerated well) is that with growing "scene" complexity, there is simply too much calls to GDI and time is wasted just in context switches (which does not apply to software based rendering).
If I alter this example to draw '0' using single DrawText command (mens whole lines have single color), on my desktop GDI FPS immediately outperforms software by factor 5 or more. Anyway, activating ClearType inverses this situation once again....
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 15:41:02 CET 2024
Total time taken to generate the page: 0.01763 seconds
|