qt5base-lts/tests/benchmarks/gui/painting/painting.pro
David Faure 434c522695 Improve performance of QColor::name, now more than 4 times faster
Before: HexRgb: 0.00230 ms per iteration, HexArgb: 0.00290 ms per iteration
After:  HexRgb: 0.00051 ms per iteration, HexArgb: 0.00061 ms per iteration

This showed up as a relevant optimization when profiling KIconLoader
which uses QColor::name() as part of the key -- thanks to Mark Gaiser for
the investigation and first suggestion of a solution. I have also seen
customer code writing a replacement for QColor::name() because it was
too slow to be used as a hash key.

Change-Id: I009ccdd712ea0d869d466e2c9894e0cea58f0e68
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2016-08-05 09:56:12 +00:00

13 lines
205 B
Prolog

TEMPLATE = subdirs
SUBDIRS = \
qcolor \
qpainter \
qregion \
qtransform \
qtbench
!qtHaveModule(widgets): SUBDIRS -= \
qpainter \
qtracebench \
qtbench