[Users] Deleting email in a large MH folder

Paul Rolland rol at witbe.net
Tue May 10 18:26:06 UTC 2022


Hello Ivan,

On Tue, 10 May 2022 21:06:45 +0300
Ivan Krylov <krylov.r00t at gmail.com> wrote:

> Since you're already rebuilding Claws-Mail on Linux, perhaps you could
> build it with -g (to include the debugging symbols) and use perf -g [1]
> to see where Claws spends its 100% CPU episodes? Once you capture a
> trace, it can be analysed by other tools.

Thanks for the tip... I'm not very familiar with perf, but your suggestion
is a good opportunity for me to learn on a very practical case ;)

The report says :
Samples: 834K of event 'cycles', Event count (approx.): 214706275164
Overhead  Command      Shared Object             Symbol
  22.84%  claws-mail   claws-mail                [.] gtk_cmctree_unlink
   7.84%  claws-mail   libglib-2.0.so.0.7000.5   [.] g_list_position
   6.50%  claws-mail   libglib-2.0.so.0.7000.5   [.] g_list_nth
...
(others are below 0.5%)

Any idea of what I can do with that ? ;)

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20220510/2077e2a6/attachment-0001.sig>


More information about the Users mailing list