Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5e1bbd4

Browse files
committedMar 6, 2025
Merge branch 'v2_release' of tig:gui-cs/Terminal.Gui into v2_release
2 parents 396b5ea + 0b4068b commit 5e1bbd4

File tree

79 files changed

+1951
-1192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1951
-1192
lines changed
 

‎Benchmarks/Benchmarks.csproj

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<IsPackable>false</IsPackable>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
<RootNamespace>Terminal.Gui.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />
18+
</ItemGroup>
19+
20+
</Project>

‎Benchmarks/Program.cs

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using BenchmarkDotNet.Configs;
2+
using BenchmarkDotNet.Running;
3+
4+
namespace Terminal.Gui.Benchmarks;
5+
6+
class Program
7+
{
8+
static void Main (string [] args)
9+
{
10+
var config = DefaultConfig.Instance;
11+
12+
// Uncomment for faster but less accurate intermediate iteration.
13+
// Final benchmarks should be run with at least the default run length.
14+
//config = config.AddJob (BenchmarkDotNet.Jobs.Job.ShortRun);
15+
16+
BenchmarkSwitcher
17+
.FromAssembly (typeof (Program).Assembly)
18+
.Run(args, config);
19+
}
20+
}

0 commit comments

Comments
 (0)