Re: XML parsing speed was RE: RE: A portable preferences library but has nothing to do with them anymore

"Alen Ladavac" <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <[email protected]>
> The code in question does:
>
>   sz = get_size_of_file ()
>   read (h, buf, sz)
>   parse (buf)
>
> As such load and parse are entirely separate.

I see.

> This is an old slow machine, a PII-333 -- I said it was far from
> cutting-edge.

Frankly, I'd like to have that to be more like at least 10-20MB/s on a Celeron
733. Not to mention some even slower CPUs, that most of us would like it to
run on. ;)

> > A 40xCDROM...
>
> I was reading from disk possibly NFS over 100bT (can't check right now,
> don't have access to that machine from where I am now).  That machine
> doesn't have a CD.

I mentioned the 40xCD as a yardstick to compare the speed against. It is
deemed as something very slow, and your CPU activity while loading should
always have much better throughput than that.

Alen


> > ...  has transfer rate of 6MB/s. You say you are parsing data at that
> > rate? Those are certainly not some impressive numbers. :(
>
> Certainly they're not impressive.  They weren't intended to be.  I
> suggest you check them on a more representative host with code that
> wasn't written as quickly as possible and for data that more closely
> matches your loads.
>
> --
> J C Lawrence
> ---------(*)                Satan, oscillate my metallic sonatas.
> [email protected]               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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
> Archives:
> http://sourceforge.net/mailarchive/forum.php?forum_id=557
>



-------------------------------------------------------
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
[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.