-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.Performance
Milestone
Description
I noticed that loading the x509 system roots and parsing their certificates on Linux takes 526kB of memory.
(by making an HTTPS request for the side-effect of loading them: https://play.golang.org/p/re1rB_Ui1nS then hitting pprof)
I suspect have common subfields that might be able to share memory? Or does our super transparent representation preclude that?
GitHub won't let me upload an SVG, so:

/cc @FiloSottile
valyala and vbuell
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.Performance