Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #1012: [Performance][Wallet][QT][Model] TransactionTableModel m…
…ulti-thread initialization + tx filter sort speed improved. dbf26ee9cbbcc8d39decb372538556cd14171757 [Build] QtConcurrent include path added. (furszy) 5cd44b639995b51b7b172d87175bf091b2fe4af9 [Build] QtConcurrent checks. (furszy) a24a2511b49ac5953996af93a9743dffaaa1603a [Build] QtConcurrent feature added to config options. (furszy) 35f63f2cfbe62e959196b50a1ae0bbf1b5a79389 [QT] Dashboard chart, do not refresh the chart when a refresh is being processed. (furszy) 70abbcc0e44e4889658b7e9507e90d7752f6bffc [Build] QtConcurrent included into the qt libs. (furszy) 3d58d00a56aa2fe63a0549ca4b56b9584d01ea4d [Wallet][Model][QT] Multi-thread transactionTableModel startup corrections + worker object finish signal broadcasted when the thread task fails too. (furszy) 9b4facc0b7feabc232f09f84f22185aadd042021 [Performance][Wallet][QT][Model] * Parallelization of the transactionTableModel initial loop (for-each loop over every wallet transaction to generate the TransactionRecord list that is used in the UI). * QSortFilterProxyModel stakeFilter in dashboard widget and txFilter in the privacyWidget sort speed drastically improved, only done over the editRole and pre sort filter type flag set. (furszy) Pull request description: Rationale When the splash screen finishes loading and the wallet is big enough (wallet.dat with lot of transactions), the UI gets frozen for a large period of time processing data in the main thread. To solve it, two improvements were done: 1) Parallelization of the transactionTableModel initial loop (for-each loop over every wallet transaction to generate the TransactionRecord list that is used in the UI). 2) stakeFilter in dashboard widget and txFilter in the privacyWidget sort speed drastically improved, done after the editRole and filter type flag set to not do it over all of the transactions and not do it twice in any of the filter flag set list invalidation. Test environment: - Wallet with: - 4,400,00 tPIV (4.4kk). - 40,150 ztPIV (40k) - 104,000 transactions (104k). - Computer macbook pro i7 16gb ram. Test results: Current master: - Startup time: 17:15 minutes. - UI frozen for 13 minutes after backend finish loading. PR: - Startup time: 1:59 minutes. - UI frozen for 30 seconds after backend finish loading. ACKs for top commit: Fuzzbawls: ACK dbf26ee9cbbcc8d39decb372538556cd14171757 Warrows: ACK dbf26ee random-zebra: ACK dbf26ee9cbbcc8d39decb372538556cd14171757 Tree-SHA512: 3dec43324ced36d40c29191b71774764303f507ca0bb37ee7ad55569aede912492bdab5c37ea42e6fe5ecc1914c272748ce4841d361789d3020affd9d582ca21
- Loading branch information
1 parent
53caa0c
commit c15b089
Showing
20 changed files
with
166 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.