Brian Ryner wrote:
Looking at a startup profile in Quantify, I'm not sure that skipping the DB initialization will help. The majority of the time seems to be going to initializing the random number generator (ReadSystemFiles, called from RNG_SystemInfoForRNG). Or am I missing something that would cause this all to be skipped?

You didn't miss anything.  I didn't know the reason you
wanted to skip NSS initialization was that it's taking
too long. In any case, NSS_NoDB_Init is the cheapest
NSS initialization function.

If we can improve the performance of ReadSystemFiles
(https://bugzilla.mozilla.org/show_bug.cgi?id=338601),
would NSS_NoDB_Init or even NSS_Init meet your
requirements?

Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to