On Dec 13, 2007 1:50 PM, Allan Bezerra <[EMAIL PROTECTED]> wrote: > Hi Barbieri, > > Do you have performance tests about lms? > I not found something related on this page.
No numbers or comparisons yet, we were finishing the Canola release until yesterday, so no time for that, but I'd appreciate if someone does that :-) While coding, I tried to be light on resources, avoid memory allocation, avoid walking strings all the time, etc... The only point of slowness is the dual-process approach, since you have lots of context switches, but it's the price of it not breaking your main process with bogus libraries. Also, some plugins could be profiled and improved. For example, the JPEG/EXIF plugin was written from scratch to make it lighter, but I'm now doing lots of lseek() and read(), maybe profiling can show that it's cheaper to mmap() the file and set a good posix_fadvise(), but since we're working with flash memory and not disk, then it should not import that much... and the kernel does some caching for us. -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers