qt5base-lts/tests/auto/gui/painting
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
..
qbrush tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qcolor Improve performance of QColor::name, now more than 4 times faster 2016-08-05 09:56:12 +00:00
qpagelayout tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qpagesize Update copyright headers 2015-02-11 06:49:51 +00:00
qpaintengine Update copyright headers 2015-02-11 06:49:51 +00:00
qpainter Fix rounding error in fetchTransformedBilinear 2016-02-02 22:47:10 +00:00
qpainterpath tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qpainterpathstroker Update copyright headers 2015-02-11 06:49:51 +00:00
qpathclipper Update copyright headers 2015-02-11 06:49:51 +00:00
qpdfwriter Tests: Always verify whether QTemporaryDir/File creation succeeded. 2015-09-28 15:05:43 +00:00
qpen Update copyright headers 2015-02-11 06:49:51 +00:00
qpolygon Update copyright headers 2015-02-11 06:49:51 +00:00
qregion tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtransform tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qwmatrix Fix build of tests on QNX. 2015-03-14 07:05:34 +00:00
painting.pro QPdfWriter - Use QPageSize and QPageLayout 2014-03-17 13:45:52 +01:00