-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regressions in System.Security.Cryptography.Tests.Perf_Rfc2898DeriveBytes #65719
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
The commit range is https://github.com/dotnet/runtime/compare/3a4ade30d6ae45cf8e884692efe6a7f39062e1ab...45a9548644f34264ce2e1a8a586e8e234d6f61e4...Most likely the suspect is 45a9548 bartonjs |
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones Issue DetailsRun Information
Regressions in System.Security.Cryptography.Tests.Perf_Rfc2898DeriveBytes
Reprogit clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net6.0 --filter 'System.Security.Cryptography.Tests.Perf_Rfc2898DeriveBytes*' PayloadsHistogramSystem.Security.Cryptography.Tests.Perf_Rfc2898DeriveBytes.DeriveBytes
Description of detection logic
DocsProfiling workflow for dotnet/runtime repository
|
Well, that's 10,000 HMAC invocations. So 20,000 additional calls to |
Yeah. I'm not really worried about that differential in isolation. According to the operation is still faster on Linux than Windows (with the same hardware). The scale of the perf degradation, combined with PBKDF2 itself not being used in a loop (except by password breakers) makes me feel like this is an acceptable consequence of keeping the error queue better managed. |
That makes sense. The one-shot is probably more interesting to measure from a performance perspective. |
Run Information
Regressions in System.Security.Cryptography.Tests.Perf_Rfc2898DeriveBytes
Test Report
Repro
Payloads
Baseline
Compare
Histogram
System.Security.Cryptography.Tests.Perf_Rfc2898DeriveBytes.DeriveBytes
Description of detection logic
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
The text was updated successfully, but these errors were encountered: