diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2013-12-28 15:43:09 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-08 15:04:34 +0100 |
commit | 2f7bef547e51ee6f2fe8f12bbe33f4978d6bd7f2 (patch) | |
tree | b1699169a411ef7e013c97c8525745a9dd899b3a /.gitignore | |
parent | 5354cb73e25afbdf55b78c29ca32c1b305aa7efe (diff) | |
download | qtwebchannel-2f7bef547e51ee6f2fe8f12bbe33f4978d6bd7f2.tar.gz |
Optimize: Use property-indices instead of names for notifications.
This reduces the traffic as the indices are usually much smaller than
the property names.
As such, the benchPropertyUpdates gets a speed boost of about 9% (or
10ms vs. 11ms). As we need to transmit the index during initialization
that degrades its performance slightly by ca. 4% (13ms vs. 12.5ms).
Considering that the initialization only takes place once whereas
the property updates potentially often, this is a good tradeoff.
Change-Id: If7df3e360f1528b7d7aa26c63ce851363ae9fd6a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions