WiP
This commit is contained in:
parent
4f1dbeba0e
commit
6c1ef959cc
5 changed files with 142 additions and 0 deletions
|
@ -5,6 +5,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.Loader;
|
||||
using System.Text;
|
||||
using Microsoft.DotNet.Cli.Utils;
|
||||
using Microsoft.DotNet.InternalAbstractions;
|
||||
|
@ -42,6 +43,10 @@ namespace Microsoft.DotNet.Cli
|
|||
{
|
||||
DebugHelper.HandleDebugSwitch(ref args);
|
||||
|
||||
AssemblyLoadContext.Default.SetProfileOptimizationRoot(
|
||||
new MulticoreJitProfilePathCalculator().MulticoreJitProfilePath);
|
||||
AssemblyLoadContext.Default.StartProfileOptimization("dotnet");
|
||||
|
||||
if (Env.GetEnvironmentVariableAsBool("DOTNET_CLI_CAPTURE_TIMING", false))
|
||||
{
|
||||
PerfTrace.Enabled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue