Skip to content

Commit

Permalink
misc: Minor updates in scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyakunin committed Nov 12, 2020
1 parent 6e13a3b commit f0aee60
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 88 deletions.
8 changes: 3 additions & 5 deletions src/CSharp/App/GCBurn.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@
<LangVersion>latest</LangVersion>
<AssemblyName>GCBurn</AssemblyName>
<RootNamespace>GCBurn</RootNamespace>
<!--
<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
-->
<!-- This info is displayed in help output -->
<AssemblyTitle>GCBurn</AssemblyTitle>
<Version>0.1</Version>
<Version>0.2</Version>
<Copyright>(C) 2018-2e99 GCBurn Team</Copyright>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.0-preview1" />
<PackageReference Include="MedallionShell" Version="1.6.1" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Benchmarking.Common\Benchmarking.Common.csproj" />
<ProjectReference Include="..\Main\GCBurn.Main.csproj" />
Expand Down
24 changes: 0 additions & 24 deletions src/CSharp/Run-SGC.bat

This file was deleted.

24 changes: 0 additions & 24 deletions src/CSharp/Run-WGC.bat

This file was deleted.

30 changes: 29 additions & 1 deletion src/CSharp/Run.bat
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
@call run-sgc.bat %*
@echo off
pushd "%~dp0"

rem JIT settings
set COMPlus_TieredCompilation=1
rem set COMPlus_ReadyToRun=0

rem GC settings
set COMPlus_gcServer=1
rem set COMPlus_gcConcurrent=1
set COMPlus_gcAllowVeryLargeObjects=1
set COMPlus_GCRetainVM=1
set COMPlus_GCLargePages=1
rem set COMPlus_GCLatencyLevel=0
rem set COMPlus_GCLatencyMode=1
rem set COMPlus_GCCpuGroup=1
rem set COMPlus_Thread_UseAllCpuGroups=1

goto :skipLogging
set COMPlus_GCLogEnabled=1
set COMPlus_GCLogFile=C:\Temp\GC.log
set COMPlus_GCLogFileSize=1f0
set COMPlus_GCConfigLogEnabled=1
set COMPlus_GCConfigLogFile=C:\Temp\GCConfig.log
set COMPlus_GCMixLog=C:\Temp\GCMix.log
:skipLogging

dotnet run -p App\GCBurn.App.csproj -c Release -- %*
popd
19 changes: 18 additions & 1 deletion src/CSharp/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
#! /bin/bash
pushd "${0%/*}" >/dev/null
./run-sgc $@

# JIT settings
export COMPlus_TieredCompilation=1
# export COMPlus_ReadyToRun=0

# GC settings
export COMPlus_gcServer=1
# export COMPlus_gcConcurrent=1
export COMPlus_gcAllowVeryLargeObjects=1
export COMPlus_GCRetainVM=1
export COMPlus_GCLargePages=1
# export COMPlus_GCLatencyLevel=0
# export COMPlus_GCLatencyMode=1
# export COMPlus_GCCpuGroup=1
# export COMPlus_Thread_UseAllCpuGroups=1

dotnet run -p App/GCBurn.App.csproj -c Release -- $@

popd >/dev/null
15 changes: 0 additions & 15 deletions src/CSharp/run-sgc

This file was deleted.

15 changes: 0 additions & 15 deletions src/CSharp/run-wgc

This file was deleted.

4 changes: 1 addition & 3 deletions src/Test-All.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ exit 1

call :run CSharp CSharp
call :run Go Go
rem call :run CSharp-Batch CSharp run 0
rem call :run CSharp-WorkstationGC CSharp run-wgc
goto :eof

:run
Expand All @@ -38,7 +36,7 @@ set language=%2
set runner=%3
if "%runner%"=="" set runner=run
set lmode=%4
if "%lmode%"=="" set lmode=3
if "%lmode%"=="" set lmode=1
set output='../../results/%variant%-%OUTPUT_SUFFIX%.txt'

pushd %language%
Expand Down

0 comments on commit f0aee60

Please sign in to comment.