On 1 June 2012 22:47, Chris Cunningham <cunningham.cb@gmail.com> wrote:
On Fri, Jun 1, 2012 at 12:17 PM, Camillo Bruni <camillobruni@gmail.com> 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
Can you share this work? Â I've been interested in this particular use for NB for a while now, but haven't gotten around to trying it (or, unfortunately, NB itself) yet. Â This would probably push me into a user role - and is definitely something I'd like to see.
hehe.. there's almost nothing to show about.. we're just making calls to two C functions: opendir() and readdir() from standard C library. a very basic stuff, which you would do if your programming language is C :) anyways, see attached. If you on mac, it shall work.. try something like: (UnixDir on: '/usr/bin') entries
-Chris
-- Best regards, Igor Stasenko.