You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What problem would the feature you're requesting solve? Please describe.
We need to simplify the class Sanitizer.cs to improve performance. Currently it is using both regex approach and string comparison. We can optimize it to use either of these approaches. Note that the method Sanitize() gets executed a lot as it examines the logs and sanitizes any secret related strings. Also, using regex comparison is very expensive. For that we can use .Net feature GeneratedRegex for performance - link
What problem would the feature you're requesting solve? Please describe.
We need to simplify the class Sanitizer.cs to improve performance. Currently it is using both regex approach and string comparison. We can optimize it to use either of these approaches. Note that the method
Sanitize()
gets executed a lot as it examines the logs and sanitizes any secret related strings. Also, using regex comparison is very expensive. For that we can use .Net feature GeneratedRegex for performance - linkDocumentation here - Link
The text was updated successfully, but these errors were encountered: