summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/network
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2020-11-04 17:58:12 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2020-11-09 17:36:31 +0100
commit250b69ace47923b51aaeaaea39e0ffc638fa4b4a (patch)
treebc860cd91d834b0dffcf843369f46eb965766b43 /tests/benchmarks/network
parent9ede51d2140c026c03d1328de8c2704e9ee2f678 (diff)
Fix QArrayDataOps generic and relocatable emplace()
Emplace() implemented with std::rotate is just awful on my system (Ubuntu 18.04 GCC 7.5.0). Custom code is much faster, so go for it. Cannot really use insert() code, which is also fast, because it doesn't forward-reference values but copies them always Changes in performance (approximately) for emplacing 100k elements into the middle: Complex 7600ms -> 1700ms Movable 7600ms -> 200ms Task-number: QTBUG-86583 Change-Id: If883c9b8498a89e757f3806aea11f8fd3aa3c709 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/benchmarks/network')
0 files changed, 0 insertions, 0 deletions