瀏覽代碼

Enable profile guided optimizations in CoreRT (#6606)

Michal Strehovský 4 年之前
父節點
當前提交
47b459f8c9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      frameworks/CSharp/aspnetcore-corert/PlatformBenchmarks/PlatformBenchmarks.csproj

+ 1 - 0
frameworks/CSharp/aspnetcore-corert/PlatformBenchmarks/PlatformBenchmarks.csproj

@@ -8,6 +8,7 @@
     <!-- Opt out of the "easy mode" of the CoreRT compiler (http://aka.ms/OptimizeCoreRT) -->
     <TrimMode>link</TrimMode>
     <IlcOptimizationPreference>Speed</IlcOptimizationPreference>
+    <IlcPgoOptimize>true</IlcPgoOptimize>
 
     <!-- This benchmark is marked Stripped, so we might as well do this: -->
     <UseSystemResourceKeys>true</UseSystemResourceKeys>