summaryrefslogtreecommitdiff
path: root/sync.profile
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-12-19 20:07:46 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-27 15:51:27 +0100
commit13aee32e61f20e05fea18a26d35e610fb0e3081f (patch)
treecb56a6c5eccddd45042864c1de3d49bcb4122d5e /sync.profile
parenta001534f832e58cc081512e12a4b7266489f2ad7 (diff)
downloadqtwebchannel-13aee32e61f20e05fea18a26d35e610fb0e3081f.tar.gz
Optimize client initialization by using QJson directly.
Before, we constructed QVariant maps and lists and then converted them to JSON to send the data to the webchannel. By obsoleting the conversion step, benchInitializeClients shows a good performance boost of ca. 19% (11.81ms vs 14.58ms). Change-Id: Ief8e8127207a046f481488a478cd6a18fa0ebffe Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions