Put multiple QML profiling messages into one object where possible
authorUlf Hermann <ulf.hermann@digia.com>
Mon, 6 Jan 2014 12:48:23 +0000 (13:48 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 22 Jan 2014 13:34:23 +0000 (14:34 +0100)
commitf781d97e141632c646da09888c9612931f7c928b
tree30039814cdb41bbb49fc2d840babf4cb18417eff
parenta32bed7047469273cc8513cad7b2923d60f8d590
Put multiple QML profiling messages into one object where possible

As most of the QML profiling messages only use a small subset of the
available fields in QQmlProfilerData we can
a, reduce the size of QQmlProfilerData by using unions
b, put multiple messages into one object where their data doesn't
   overlap
Furthermore we can add another field for saving QUrl members in
QQmlProfilerData so that we can combine more different messages
and don't have to convert from QUrl to QString while profiling. This
should reduce the impact of the profiling code on the performance
of the application being profiled.

Task-number: QTBUG-35315
Change-Id: Iecd61e90cc8490d2efbbb381391d98dfee61d3cd
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/debugger/qqmlprofilerservice.cpp
src/qml/debugger/qqmlprofilerservice_p.h
src/qml/qml/qqmlvme.cpp