2010/4/5 P:CMan <[email protected]>: > OK, > To solve the previously addressed problems, I add a new branch sqlite > to experiment with new idea.s > This time I directly access the medialib file of xmms2 with sqlite3, > and fonud it's much faster. > So the problem is quite apparantly caused by poor IPC roundtrip design. > However, the sqlite database is not in good format, either. So the > query became very slow. > With this sqlite branch, it gets reasonable speed while doesn't > require additional caching mechanism or additional library. (sqlite3 > is already required by xmms2)
So now you are completely bypassing XMMS2 API ;) I good a good hint from XMMS2 devs: http://thread.gmane.org/gmane.comp.multimedia.xmms2.devel/2511 I implemented playlist loading using the collection API (Playlist loading time for 3030 entries reduced from 7 to 0.5 seconds). I will push to public SF git repo when i sorted out remaining issues. Jürgen ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
