NetApp / harvest

Open-metrics endpoint for ONTAP and StorageGRID
https://netapp.github.io/harvest/latest
Apache License 2.0
147 stars 36 forks source link

perf: reduce allocs when reading credential files #3111

Closed cgrinds closed 3 weeks ago

cgrinds commented 4 weeks ago

refactor: remove cyclic dependency in logging

cgrinds commented 4 weeks ago
Before/after allocations of ReadCredentialFile after running for 1 hour. Result Mem
Before 456 MB
After 3.5 MB

130x improvement