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
Recent profiling of my application shows I'm spending a significant amount of time generating random numbers for trace IDs. The RNG currently used is a cryptographically secure RNG, which is overkill for just generating unique identifiers. I'd like to improve performance by changing this to a plain ThreadLocalRandom.
The text was updated successfully, but these errors were encountered:
Recent profiling of my application shows I'm spending a significant amount of time generating random numbers for trace IDs. The RNG currently used is a cryptographically secure RNG, which is overkill for just generating unique identifiers. I'd like to improve performance by changing this to a plain ThreadLocalRandom.
The text was updated successfully, but these errors were encountered: