[Bug 702545] tags: xmp: adding tags is very slow

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 19 02:35:06 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702545
  GStreamer | gst-plugins-base | 0.10.35

--- Comment #13 from Tvrtko Ursulin <tvrtko.ursulin at onelan.co.uk> 2013-06-19 09:35:02 UTC ---
For what it is worth keep in mind that the first patch makes
gst_tag_list_from_xmp_buffer go from five minutes to five seconds elapsed time
and the second one to under half a second, possibly much less. I did not bother
measuring accurately.

But in the context of further optimisations, even getting rid of that 48% in
_gst_xmp_tag_get_mapping_reverse completely might only win further 50ms. And
this is with the pathological case of 50k tags.

It probably would matter much more on slow CPUs though so personally I do like
the idea of getting rid of poor algorithms.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list