diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-01-19 15:13:38 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-01-31 10:20:30 +0000 |
commit | 922ce0ef39302a8d6d306a09295cbae857becbc4 (patch) | |
tree | 31412b2624c1641a322ad95d774d90e8bfeba074 /src/quick/doc/src/concepts | |
parent | 1e350a8c98d9c98823dde83a6745d2f26a9c0785 (diff) |
Improve persistent/weak value allocation performance
When the persistent storage becomes fragmented, we would find the page
with a hole in it, but we wouldn't put it to the front of the page
list. So upon the next allocation we would begin iterating through
firstPage again.
This wasn't quite visible in callgrind as overall not many instructions
were executed, but in perf this function showed up as hotspot because
the search for free pages ends up with a lot of cache misses.
In delegates_item_states.qml this was about ~7% of measured cycles with
perf.
Change-Id: I2bfa337ea9be14d1321756963c72d31336790a0a
Done-with: Erik
Task-number: QTBUG-65708
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/quick/doc/src/concepts')
0 files changed, 0 insertions, 0 deletions