[SDL] Submission: IMG_Init and IMG_Quit for faster loading
Jonathan Greig
redteam316 at gmail.com
Mon Apr 6 23:23:07 PDT 2009
Donny,
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.
Mason,
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...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090407/c5363f05/attachment.htm>
More information about the SDL
mailing list