After my work yesterday and the screenshot confirming hexstrdump was taking
a lot of time, I've made another change that only calls hexstrdump in debug
cases when openpgp.config.debug = true. This sped up encryption quite a bit
for me again.

Please try it out, it only is changed on part of the project at this point,
but I plan on changing other debug statements as well.

Sean

On Thu, Feb 2, 2012 at 5:51 AM, <[email protected]> wrote:

> On 02/02/12 09:37, Tankred Hase wrote:
>
> > Maybe it would make sense for me to put the encryption logic in
> > a separate web-worker thread, so that it doesn't block the UI. I
> > attached a screenshot of the chrome profiler if it helps.
>
> Definitely makes sense to stick anything that's going to take a while to
> execute, in a web worker. You block the entire ui otherwise.
>
> --
> Mike Cardwell  https://grepular.com/     http://cardwellit.com/
> OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
> XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4
>
>
> _______________________________________________
>
> http://openpgpjs.org
>
>
_______________________________________________

http://openpgpjs.org

Reply via email to