[squeak-dev] Re: Read buffering for FileStream
Levente Uzonyi
leves at elte.hu
Mon Dec 7 16:26:37 UTC 2009
On Sun, 6 Dec 2009, Andreas Raab wrote:
> Levente Uzonyi wrote:
>> Should we add this to the trunk until something better (than FileStream) is
>> available?
>
> Yeehaa! :-) Love it. (and sorry for the belated response; yesterday was spent
Great. :)
> in a world-wide rolling server upgrade that kept me busy for most of the day)
>
> Let's benchmark it:
>
> StandardFileStream allSubInstancesDo:[:sfs| sfs disableReadBuffering].
> t1 := [Object compileAll] timeToRun.
> StandardFileStream allSubInstancesDo:[:sfs| sfs enableReadBuffering].
> t2 := [Object compileAll] timeToRun.
> {t1. t2}
>
> => #(1004 535)
>
> In other words we just sped up recompilation by oh, a mere factor of two
> (YMMV, due to OS differences, caching behavior etc). This should be noticable
> in a variety of conditions including reshaping classes, change list
> operations etc.
>
> Great job!
>
Thanks.
Levente
> Cheers,
> - Andreas
>
>
More information about the Squeak-dev
mailing list
|