qt5base-lts/tests/benchmarks/widgets
David Faure 09c7457f4a QTextDocument: add setLayoutEnabled()
This allows to set up everything first - without paying for the layout
calculation at every step - and only then trigger the layout once.

Results:
 0.065 msecs to create a QGraphicsTextItem with some text (layouted)
 0.036 msecs to set everything up in a QGraphicsTextItem with 0 width

Change-Id: I138bd1d58941d029bc0a36d2730216778f1fbd97
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-05-26 16:58:42 +02:00
..
graphicsview QTextDocument: add setLayoutEnabled() 2022-05-26 16:58:42 +02:00
itemviews Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
kernel Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
styles Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
widgets Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Convert remaining tests/benchmarks 2019-11-04 15:48:51 +00:00