Re: XML was RE: RE: A portable preferences library

"Alen Ladavac" <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <[email protected]>
> The PlaneShift game (made with CS) has about 25 megabytes (uncompressed)
> of XML files (aggregated
> in four big files) of level data. On my Linux system at home (an Athlon
> XP2000) the levels load
> in about 16-20 seconds.

There is a mistake in your reasoning, isn't it? You say that we shouldn't look
at the size of the uncompressed XML data. Then you start profiling how many
uncompressed MB/s can you load. You should look at the number of compressed
MB/s. If running from harddisk, you should be loading between 5-20MB/s
(depending on speed of the drive). Anything less than 5MB, and you are very
CPU limited. And you should _never_ be CPU limited while loading. Not even
close. If you are CPU limited on a 2GHz CPU, think about all the poor 700MHz
Celeron users trying to load your game. There is no excuse for loading data at
less speed than the media can stream. Think about whether your users like to
wait 20 seconds to load a level. If it could be loaded in 5, or even less...

Can you get some more accurate profile?

Alen



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.