-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
HackathonIssues picked for HackathonIssues picked for Hackathonarea-System.Runtimehelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)tenet-performancePerformance related issuePerformance related issue
Milestone
Description
Guid.NewGuid() is 10 times slower on Linux compared to Windows.
| Slower | diff/base | Windows Median (ns) | Linux Median (ns) | Modality |
|---|---|---|---|---|
| System.Tests.Perf_Guid.NewGuid | 9.52 | 77.99 | 742.10 |
The contributor who wants to work on this issue should:
- Run this simple benchmark from dotnet/performance repository and confirm the problem
git clone https://github.com/dotnet/performance.git
python3 ./performance/scripts/benchmarks_ci.py -f netcoreapp5.0 --filter System.Tests.Perf_Guid.NewGuid- Build CoreCLR locally: https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-corefx.md#Build
- Create a small repro app: https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-corefx.md#repro
- Use PerfCollect to identify issue https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-corefx.md#PerfCollect
- Solve the issue
Metadata
Metadata
Assignees
Labels
HackathonIssues picked for HackathonIssues picked for Hackathonarea-System.Runtimehelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)tenet-performancePerformance related issuePerformance related issue