[fpc-devel] Benchmark for FreePascal

Marco van de Voort marcov at stack.nl
Wed Dec 14 14:07:38 CET 2005


> > Marco van de Voort napisa?(a):
> > 
> >> Since the maillists are a bit irregular, I want to repeat the point that
> >> the relative slowliness of the revcomp benchmark is the repeated 
> >> realloc, not the reading of the textfile (though a small settextbuf 
> >> might improve it
> >> a bit).
> >>  
> >>
> > Its not true. Realloc is invoked only few times. Most of times consume 
> > readln. You may try remove all lines from revcom except readln, and then 
> > see, that time of computation has near 80% of prev. From the second 
> > side, i remove only readln (pass only const string) and revcom speed has 
> > 4 times faster.
> > 
> 
> Did you test with files > 10 MB?

.. and on *nix ? (since that is where the benchmarks run)



More information about the fpc-devel mailing list