One of the things I noticed during my tests is that Thunderbird is quite unresponsive while RNP is doing something. Maybe it would be a good idea move accessing cytpes function-calls to a ChromeWorker, which runs on a separate native thread. This would have the advantages that: 1. the main thread would not be blocked by RNP (and GPGME) function-calls, which would at least give a feeling of better performance to the user 2. improve the speed, as RNP operations and Thunderbird stuff could run in parallel.
Bug 1633249 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
One of the things I noticed during my tests is that Thunderbird is quite unresponsive while RNP is doing something. Maybe it would be a good idea move accessing cytpes function-calls to a ChromeWorker or a PromiseWorker, which runs on a separate native thread. This would have the advantages that: 1. the main thread would not be blocked by RNP (and GPGME) function-calls, which would at least give a feeling of better performance to the user 2. improve the speed, as RNP operations and Thunderbird stuff could run in parallel.