Re: XML was RE: [GD-General] RE: A portable preferences library but has nothing to do with them anym
Brought to you by:
vexxed72
From: Alen L. <ale...@cr...> - 2003-12-16 21:17:13
|
Can you please explain this calculation in more detail? You get 10MB /1.5s = 6.7M/s ? But you said you load 40MB in 11s, what I would say is 3.6 MB/s. Please note that you should not substract IO time from the total loading time, as CPU should be working in parallel with the DMA, otherwise you are doing something _very_ wrong. Anyway, either 7MB/s, or 3.6 MB/s, this is just awfully slow. A 40xCDROM has transfer rate of 6MB/s. You say you are parsing data at that rate? Those are certainly not some impressive numbers. :( Alen J C Lawrence writes: > On Tue, 16 Dec 2003 19:31:46 +0100 > Pierre Terdiman <pie...@no...> wrote: > >> (Now I'm not saying that's the Right Way because, as you all should >> know, there's no such thing as a Right Way in those recurrent A-vs-B >> threads. When there's an actual Right Way, everybody agrees and people >> don't waste their time discussing it). > > <breaks down and cries tears of relief> > > While not game-related data (gene expression data as happens) I've found > that I can load, parse, and cross link a 40Meg XML file with a > moderately heavy rate of cross and external links (few score per K) in > about 11 seconds on my far from cutting-edge desktop. Raw IO time to > simply suck the same data off disk is around 5 seconds. That makes for > a second and a half per 10Meg of XML data for parsing and linking, and > this is without any attempt to optimise. > > -- > J C Lawrence > ---------(*) Satan, oscillate my metallic sonatas. > cl...@ka... He lived as a devil, eh? > http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gamedevlists-general mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-general > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=557 |