Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 064136c

Browse files
author
José Rivero
authored
- Issue was fixed with this: aspnet/JitBench#82 - Set the UseSharedCompilation=false to avoid that the `VBCSCompiler.exe` stays running.
1 parent 4e6435b commit 064136c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tests/scripts/run-xunit-perf.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
setlocal ENABLEDELAYEDEXPANSION
88
set ERRORLEVEL=
99
set DOTNET_MULTILEVEL_LOOKUP=0
10+
set UseSharedCompilation=false
11+
1012
set BENCHVIEW_RUN_TYPE=local
1113
set CORECLR_REPO=%CD%
1214
set LV_SANDBOX_DIR=%CORECLR_REPO%\bin\sandbox

tests/src/performance/Scenario/JitBench/JitBenchHarness.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class JitBenchHarness
2020
{
2121
static void Main(string[] args)
2222
{
23+
// The flag below is set to false to prevent the VBCSCompiler.exe hanging around
24+
// after the performance execution finished and preventing the deletion of the folder.
25+
Environment.SetEnvironmentVariable("UseSharedCompilation", "false");
26+
2327
var options = JitBenchHarnessOptions.Parse(args);
2428

2529
SetupStatics(options);
@@ -395,7 +399,7 @@ private static void ValidateEnvironment(IDictionary<string, string> environment)
395399
}
396400

397401
private const string JitBenchRepoUrl = "https://github.com/aspnet/JitBench";
398-
private const string JitBenchCommitSha1Id = "36db11e7ab15e96af10d995a048a1476b4e73d43";
402+
private const string JitBenchCommitSha1Id = "1235b8ed0e867dae0be50ba9467f5028c813c4fd";
399403
private const string JitBenchTargetFramework = "netcoreapp2.1";
400404
private const string EnvironmentFileName = "JitBenchEnvironment.txt";
401405

0 commit comments

Comments
 (0)