diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-11-08 17:26:39 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-11-09 11:54:57 +0000 |
commit | aaca50f705ac8f41f44991478fe11f9eb37fe0bd (patch) | |
tree | 6e751f25616f302526f726ad97d2f8041fda5e53 /src/plugins/qmlprofiler/qmlprofilertracefile.h | |
parent | a432683e0ce7a6cace498db26ee268af1e47e7bf (diff) |
QmlProfiler: Send loaded events in batches of about 1024
This significantly reduces the number of signals necessary when
loading traces. The overhead of queueing those signals across threads
was responsible for up to 80% of the time required to load a trace.
Change-Id: I461a2ef9944b0be102a29f8ed6b2b3f2f59f3c0f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertracefile.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertracefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertracefile.h b/src/plugins/qmlprofiler/qmlprofilertracefile.h index 937ec1de298..b705f07e689 100644 --- a/src/plugins/qmlprofiler/qmlprofilertracefile.h +++ b/src/plugins/qmlprofiler/qmlprofilertracefile.h @@ -62,7 +62,7 @@ public: signals: void typesLoaded(const QVector<QmlProfiler::QmlEventType> &types); void notesLoaded(const QVector<QmlProfiler::QmlNote> ¬es); - void qmlEventLoaded(const QmlProfiler::QmlEvent &event); + void qmlEventsLoaded(const QVector<QmlProfiler::QmlEvent> &event); void error(const QString &error); void success(); |