sdsc-ordes / gimie

Extract linked metadata from repositories
https://sdsc-ordes.github.io/gimie/
Apache License 2.0
6 stars 2 forks source link

perf: cache authentication headers #104

Closed cmdoret closed 11 months ago

cmdoret commented 11 months ago

This PR caches the authentication headers to avoid repeatedly querying the login endpoints of the GitHub/GitLab REST APIs.

It reduces the runtime of gimie data https://github.com/sdsc-ordes/gimie up to -3.3s (from 6.6s to 3.3s)