diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-10-30 12:38:36 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-11-02 08:33:17 +0000 |
commit | e02ebcdb0b10b1c9f077d813c08d83e0d17ca6b5 (patch) | |
tree | eacf840bdf6b65f7bed272a86c6684c3503c1550 /tests/benchmarks/creationtime/tst_creationtime.cpp | |
parent | 61cb7ca7e8d8ebc5103870ae2795dbc65eb2c89f (diff) |
Optimize CheckBox, Switch, and RadioButton
Add an internal CheckLabel helper that simply initializes a few
QQuickText properties with defaults that are suitable for CheckBox,
Switch, and RadioButton. This gives a 10% boost on desktop in debug
mode, and a 5% boost on a TX1 in release mode.
Change-Id: I82fead9ca22b6aa74f24924d240c924b2a42a912
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/benchmarks/creationtime/tst_creationtime.cpp')
0 files changed, 0 insertions, 0 deletions