On 17/03/15 17:59, Stephan Eggermont wrote:

I tried the code with the latest pharo-spur image and vm:
from 17 seconds down to 10.5

And I tried it again with cogspurlinux 3268 and the
trunk46-spur. That needed switching to

MultiByteFileStream readOnlyFileNamed:

and ran in 8.8 sec (average of three runs). Interestingly, on Pharo
that is significantly slower, about 15 sec.

replacing that by StandardFileStream (and no decoding) reduced it to
<120 ms.

Stephan

[1 to: 10 do: [:j | |a length|
  length := 0.
  a :=
(MultiByteFileStream readOnlyFileNamed: '/home/stephan/Downloads/jfreechart.mse') readStream contents]] timeToRunWithoutGC




Reply via email to