[SDL] Submission: IMG_Init and IMG_Quit for faster loading
redteam316 at gmail.com
Mon Apr 6 23:23:07 PDT 2009
That should mean 128 seconds for the full load unpatched assuming he
calculated the time properly. Admittedly he is performing other calculations
too, shouldn't factor into the overall gain anyway as multiple runs should
produce similar benchmarks.
I think that Donny is looking for a raw benchmarking example, such as a
simple main() that initializes SDL and the libs and runs a massive loading
loop, and outputs the program time when done. That would allow others to
test the performance gain on other boxes rather than just relying on the
numbers you reported. Is there a (unit)test for that? I haven't messed
around with those for quite some time. If not, that would be a good addition
too. It would really reinforce the validity of your claims and serve as a
test for future patches to determine their effect on performance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL