Dirk Meyer wrote: > I'm in the progress of changing it, it may take a while. ETA: > Friday. The beacon test cases are working now with the new code (not > in svn), but there are some FIXMEs I need to find a way to solve and > the freevo gui testcase is still broken.
I created a bad test case by updating the beacon test. I create a grid with thumbnails from around 320 (!) beacon items incl. a reflection. Here are the results: 0.09 seconds to create all python objects. This includes getting the Thumbnail object from beacon and the filename of the thumbnail in the ~/.thumbnails directory. Without beacon it is around 0.06 seconds. No clutter objects are created. 0.9 seconds (!) to load all thumbnails (256x256 pixel) using kaa.imlib2. This only uses _Imlib2.open internally so I don't think we can ever speed this up. Ideas welcome. Now we switch into the gobject loop for rendering. Note: the second we lost above is in the main loop so it does not block animations. It could also be done in a thread to keep both loops alive. 0.7 second (!) to create all clutter actors and render what we need. Without the reflection it takes 0.6 seconds. I'm sure the huge problem is transforming the imlib2 image to clutter: | clutterobj.set_from_rgb_data(imlib2obj.get_raw_data('RGBA'), True, | imlib2obj.width, imlib2obj.height, 1, 4, 0) This has to be faster somehow. I know that 320 images are more than we will ever need, but it is a good test case to find bottlenecks. Dischi -- There ought to be a better way to start the day than by getting up in the morning. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel