qt5base-lts/tests/benchmarks/gui
Robin Burchell ca9ed9619f Improve performance of Qt::mightBeRichText by using QStringRef
I noted this taking around 1% of QtQuick Text creation with a few simple bindings
which is quite considerable, so hopefully improvements here will add up gradually.

Also add a benchmark measuring changes:

                  Test                 |      From      |       To       |        Details
+--------------------------------------+----------------+----------------+-----------------------+
  mightBeRichText:br-invalidspace      | 14466.00 instr | 10563.00 instr | -26.98% FASTER! :)
  mightBeRichText:br-nospace           | 18581.00 instr | 14635.00 instr | -21.24% FASTER! :)
  mightBeRichText:br-space             | 18470.00 instr | 14377.00 instr | -22.16% FASTER! :)
  mightBeRichText:documentation-header | 16336.00 instr | 12992.00 instr | -20.47% FASTER! :)
  mightBeRichText:empty                | 2618.00 instr  | 2618.00 instr  | more or less the same
  mightBeRichText:invalid closing tag  | 11102.00 instr | 7159.00 instr  | -35.52% FASTER! :)
  mightBeRichText:no tags              | 12503.00 instr | 8581.00 instr  | -31.37% FASTER! :)
  mightBeRichText:simple               | 17316.00 instr | 14074.00 instr | -18.72% FASTER! :)
  mightBeRichText:simple2              | 14394.00 instr | 10745.00 instr | -25.35% FASTER! :)
+--------------------------------------+----------------+----------------+-----------------------+
             Overall result            |                                        -201.81% :)

Change-Id: I1817a69959d176b381bcbf27b72bb751885c3e9b
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2016-07-11 12:30:31 +00:00
..
animation Updated license headers 2016-01-21 18:55:18 +00:00
graphicsview Remove Windows CE from tests (others). 2016-03-31 06:14:04 +00:00
image Merge remote-tracking branch 'origin/5.7' into dev 2016-05-12 08:33:08 +02:00
itemviews Updated license headers 2016-01-21 18:55:18 +00:00
kernel Updated license headers 2016-01-21 18:55:18 +00:00
math3d Updated license headers 2016-01-21 18:55:18 +00:00
painting Updated license headers 2016-01-21 18:55:18 +00:00
styles Updated license headers 2016-01-21 18:55:18 +00:00
text Improve performance of Qt::mightBeRichText by using QStringRef 2016-07-11 12:30:31 +00:00
gui.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00