Slowdown when deleting in the UI #1347
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-16#1347
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Deleting messages individually causes too much CPU usage. I narrowed it down to
propagateUnreadCount
insrc/bitmessageqt/__init__.py
. I remember doing performance tests, so it must have broken since then.It seams you mean
bitmessageqt
notbitmessagemain
. I noticed that adding many messages also causes heavy CPU load.Yes.
you could use --curses mode (with my fixes) and delete there. seems to work better... ;-)
Not sure if that related... I thought of adding indexes for frequently used fields in messages.dat, e.g.
But when I opened
class_sqlThread
I realized that it requires a heavy cleanup work. So that's still work in progress in my home repo.BTW, when I delete a message I see maximum 3% CPU load in SQL thread, it seems not too much compared to ~ 65% when I click any inbox folder.