[Glass] GsFile >> #next at least 4 times slower than Pharo

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Tue Mar 31 10:58:56 PDT 2015


Yeah, we are pretty slow in this particular area  ... the current GsFile 
class is designed for doing file i/o on remote clients as well as the 
local server and does not have some of the optimizations available if we 
were doing server only/native i/o ... for 3.3 we are adding optimized 
support for local server files ...

I think that folks have tended to load the contents of the file into a 
String and then using a ReadStream ...

Dale

On 03/31/2015 09:26 AM, Mariano Martinez Peck via Glass wrote:
> Hi guys,
>
> I am processing some large files and I find out that GsFile reading is 
> way slower than it is in Pharo. At least 4 times slower. The way I am 
> opening the file is:
>
>  GsFile openReadOnServer: aFilename
>
> and then... for my benchs I simply iterate and do a #next.
>
> Is there some setting maybe I can set to GsFile instance that would 
> give me a speedup? or it's simply the way the file primitives work in 
> GemStone?
>
> Thanks in advance,
>
>
> -- 
> Mariano
> http://marianopeck.wordpress.com
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150331/dda99033/attachment-0001.html>


More information about the Glass mailing list