[fpc-pascal] msedb and fcl-db benchmarks
Joost van der Sluis
joost at cnoc.nl
Tue Jul 17 13:07:27 CEST 2007
On Tue, 2007-07-17 at 10:41 +0200, Michael Van Canneyt wrote:
>
> On Mon, 16 Jul 2007, Joost van der Sluis wrote:
>
> > Hi all,
> >
> >
> > I tried to explain the readdata-difference. At first I thought that
> > msedb converted all strings from string to widestring to string. But it
> > doesn't do that. (see my mails on this subject)
> >
> > I think that the only reasonable explanation is the argument from
> > Michael: using ansistrings/pointers to store the data instead of storing
> > them directly into a buffer, induces so much overhead that it becomes
> > too slow.
> >
> > Overall, I would conclude that the current design of the TBufDataset of
> > fcl-db is a better choice then the design of tmseBufDataset. Since fcl-
> > db is faster on those things a TBufDataset is build/meant for: browsing
> > through records.
> >
> > Discussion: What tests could I do more? Is there something I overlooked?
>
> How about memory usage ? That is my main concern.
If you know a way to measure that using linux? It should be possible,
the shootout ppl also do this.
Joost
More information about the fpc-pascal
mailing list