qt5base-lts/tests/benchmarks/corelib/tools
João Abecasis fd96115ae8 QVector: always grow exponentially
For non-movable types (QTypeInfo<T>::isStatic), QVector would grow the
array linearly, and defer to qAllocMore otherwise. That property,
however, gives no indication as to how the vector will grow.

By forcing additional allocations for growing containers of such types,
this penalized exactly those objects which are more expensive to move.

We now let qAllocMore reign in growth decisions.

Change-Id: I843a89dcdc21d09868c6b62a846a7e1e4548e399
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-02-17 21:23:20 +01:00
..
containers-associative Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
containers-sequential Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qalgorithms tests: do not run benchmarks by default in 'make check' 2012-02-02 09:27:25 +01:00
qbytearray Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qchar Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcontiguouscache Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qhash Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qlist Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qrect Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qregexp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstring Allow function types to be registered without workarounds 2012-01-31 16:17:55 +01:00
qstringbuilder Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstringlist Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qvector QVector: always grow exponentially 2012-02-17 21:23:20 +01:00
tools.pro Introduce a qalgorithms benchmark. 2012-01-21 14:29:49 +01:00