When switching the unit from mBTC to BTC and vice versa in the status bar, the UI is unresponsive for a few seconds.
This time appears to scale with the number of transactions in the wallet.
When switching the unit from mBTC to BTC and vice versa in the status bar, the UI is unresponsive for a few seconds.
This time appears to scale with the number of transactions in the wallet.
tested with current master on OSX 10.10 (2.6 GHz Intel Core i7, 16GB Ram) and could not reproduce the issue. I tested with around 200 wtx. Was superfluent. Did also time-profile it to see minor thread-blocks but could found nothing. I will also have a look at it in ubuntu soon.
Same wallet perform also very good on my ubuntu 14.04 when switching units. Around 200 wtx.
Ok, must be a local problem then, thanks for checking.
I recently played around with a >100'000tx wallet. There are multiple lags in Qt. Manly sorting and Base58 to string (see screenshot from my time profiler below). Same thing when changing the BTC unit.
The transaction table should not load all transaction at once. There should be a kind of a paging mechanism. Or like iOS does, a create-when-required technique of table rows (there a row gets created when the user starts to scroll near it). Maybe this could be helpful: http://qt-project.org/doc/qt-4.8/qabstractitemmodel.html#fetchMore
