[Pharo-project] NB FileSystem Primitives Speedup

Igor Stasenko siguctua at gmail.com
Fri Jun 1 15:33:50 EDT 2012


fstat is your friend :)
i don't know if primitives providing access to that very useful function.

On 1 June 2012 21:21, Esteban Lorenzano <estebanlm at gmail.com> wrote:
> yeah that's great!
> ...but we need a speed up of FS even without that. There are some simple protocols that needs to be enhanced, like the one that checks all entries in a root directory if I execute: '/tmp' asFileReference isDirectory :P
>
> On Jun 1, 2012, at 9:17 PM, Camillo Bruni wrote:
>
>> For those complaining lately about the new FS being a bit slow ;)
>> Igor and I hacked together a test version for accessing files using NativeBoost.
>>
>> From our stupid example (listing /usr/bin with ~1k Files) we were incredible 40 times! faster
>> than the file primitives in the current image (5ms instead of 200ms).
>>
>> With the current FS infrastructure such a migration can be done absolutely painless by
>> simply replacing one back-end a time.
>>
>> best
>> cami
>
>



-- 
Best regards,
Igor Stasenko.




More information about the Pharo-dev mailing list