GNOME Bugzilla – Bug 754183
rtpbuffer: avoid internal ensure_buffers() when setting extension data
Last modified: 2016-11-23 19:20:07 UTC
Created attachment 310102 [details] [review] rtpbuffer: avoid ensure buffers when setting extension data gst_rtp_buffer_set_extension_data function is supposed to be called after mapping the GstRTPBuffer, so we can avoid ensure buffers which supposes too cost. Instruction per call: Ensuring buffers: 4237 Without ensuring buffers: 864 Improvement: 1 - 864/4237 = 0.796 Callgrind graphs are also attached.
Created attachment 310103 [details] Ensuring buffers Callgrind graph
Created attachment 310104 [details] NO ensuring buffers Callgrind graph
Closed in favor of https://bugzilla.gnome.org/show_bug.cgi?id=774959