[Bug 760267] tracer: how to pass and structure tracing data (GstStructure, GVariant, etc.)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 8 14:18:05 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760267

--- Comment #5 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
Look at
commit bb40a184137d7f9d918a2929074ec52210cab401
Author: Stefan Sauer <ensonic at users.sf.net>
Date:   Fri Jan 8 23:06:55 2016 +0100

    benchmark: add a benchmark for bgo/760267

    Big suprise - GstStructure is faster than GVariant.

./tracerserialize 
0:00:00.353588265: GstStructure
0:00:00.464734311: GVariant

GST_DEBUG="default:7" GST_DEBUG_FILE=trace.log ./tracerserialize 
0:00:01.452568709: GstStructure
0:00:01.615803751: GVariant

grep "log_gst_structure" trace.log >tracerserialize.gststructure.log 
grep "log_g_variant" trace.log >tracerserialize.gvariant.log 
ls -l tracerserialize.*.log
-rw-r----- 1 ensonic eng 23400000 Jan  8 23:10 tracerserialize.gststructure.log
-rw-r----- 1 ensonic eng 16600000 Jan  8 23:11 tracerserialize.gvariant.log

-- 
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