bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24628: GNUtls initialization adds 500ms to startup --- do we really


From: Daniel Colascione
Subject: bug#24628: GNUtls initialization adds 500ms to startup --- do we really need it just for the RNG?
Date: Thu, 6 Oct 2016 12:45:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On my system, I noticed that the call to emacs_gnutls_global_init is adding 500ms to the time it takes to run emacs -Q -nw --batch --eval '(kill-emacs)'. We're not actually using GNUtls for anything but an RNG seed, and /dev/urandom is also up to the task.

I'm not sure what's making GNUtls so slow, except that it's talking to a process called credkit-service, which is using a lot of CPU time. It shouldn't matter though.

Can we go back to just using /dev/urandom directly?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]