Type of issue
Outdated article
Description
I came across an old codebase that calls System.Runtime.ProfileOptimization.StartProfile at launch, presumably in an attempt to optimize performance.
This API was apparently introduced in .NET Framework 4.5. However, modern .NET has Dynamic PGO which seems to be a much more modern implementation of a similar concept.
So naturally I would assume those lines are not doing much, if anything, anymore. If that is the case, it should probably be mentioned in the documentation, which seems to have been written in a time when single-core computers were still in use.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.runtime.profileoptimization?view=net-10.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime/ProfileOptimization.xml
Document Version Independent Id
0e321570-46ef-7943-baf6-72abbf4d4102
Platform Id
a5f3d21a-ce8a-b4a3-41ef-3ef8cfc3730b
Article author
@dotnet-bot
Type of issue
Outdated article
Description
I came across an old codebase that calls System.Runtime.ProfileOptimization.StartProfile at launch, presumably in an attempt to optimize performance.
This API was apparently introduced in .NET Framework 4.5. However, modern .NET has Dynamic PGO which seems to be a much more modern implementation of a similar concept.
So naturally I would assume those lines are not doing much, if anything, anymore. If that is the case, it should probably be mentioned in the documentation, which seems to have been written in a time when single-core computers were still in use.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.runtime.profileoptimization?view=net-10.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime/ProfileOptimization.xml
Document Version Independent Id
0e321570-46ef-7943-baf6-72abbf4d4102
Platform Id
a5f3d21a-ce8a-b4a3-41ef-3ef8cfc3730b
Article author
@dotnet-bot