AssemblyLoadContext.StartProfileOptimization(String) AssemblyLoadContext.StartProfileOptimization(String) AssemblyLoadContext.StartProfileOptimization(String) AssemblyLoadContext.StartProfileOptimization(String) Method

定义

启动指定配置文件的配置文件优化。Starts the profile optimization for the specified profile.

public:
 void StartProfileOptimization(System::String ^ profile);
public void StartProfileOptimization (string profile);
member this.StartProfileOptimization : string -> unit
Public Sub StartProfileOptimization (profile As String)

参数

profile
String String String String

优化配置文件的名称。The name of the optimization profile.

注解

配置文件优化通过对可能执行的方法进行后台编译,从而提高了多核计算机上加载上下文的启动性能。The profile optimization improves the startup performance of the load context on multicore computers by performing background compilation of methods that are likely to be executed, based on profiles created during previous compilations. 有关详细信息,请参阅 ProfileOptimizationFor more information, see ProfileOptimization.

适用于