-
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
Guid Generation Performance Deteriorated in 2.1 vs 2.0 on OSX #26041
Comments
cc: @janvorli |
In 2.1, GUID is re-implemented in CoreCLR using a custom made In 2.0 is using |
If we ignore the slowdown frpm 2.0 to 2.1 for a moment, is that to say Guid generation on OSX regardless of generation technique (libuuid or custom function) is inherently slow? Let me re-post the benchmark numbers with the specs of the machines I run them on, using the same versions of .NET Core 2.0. and 2.1 BenchmarkDotNet=v0.10.14, OS=macOS High Sierra 10.13.4 (17E202) [Darwin 17.5.0]
BenchmarkDotNet=v0.10.14, OS=ubuntu 16.04
Couple of things
|
I think no. That's why this issue was marked with label |
@janvorli is working on a fix. |
Fixed |
Re-opening to track port to release/2.1. |
Ported |
Thanks @conradakunga perhaps you can try latest daily build tomorrow and confirm it's fixed? |
Running some benchmarks on Guid Generation on OSX 10.13.4 High Sierra shows quite some performance degradation between .NET Core 2.0.6 and 2.1.0-preview2, as reported using benchmark.net
The code itself:
Below are the results on OSX
Below are the results for the same benchmark on Ubuntu 16.04
The variance between the OSX and Linux aside, what could lead to a 10x performance degradation?
The text was updated successfully, but these errors were encountered: