GPGME performance: Allow single component gpg-conf loads
Closed, ResolvedPublic

Assigned To
Authored By
• aheinecke
Jul 17 2018, 1:33 PM

Description

On my fairly fast Windows test system it takes 3 seconds to call gpgconf_conf_load

This is a bit much if you only want to check a single option (which is probably the most common usecase).

It would be good if we could add a call to only load the configuration of a single component and not all. Or figure out how to speed up the gpgconf calls on windows.

Details

Version
master

Event Timeline

• werner raised the priority of this task from Wishlist to Normal.Jul 17 2018, 2:15 PM
• aheinecke claimed this task.

In QGPGME which is used by GpgOL and Kleopatra we have solved this by loading the configuration only once and then reusing it. I see no need to change something in gpgconf here.