openmu/tests/MUnique.OpenMU.Network.Benchmarks/Program.cs
sven-n db15dea508
Code improvements with C#10 features (#230)
The most changes are obviously by usage of the global using and file namespace features.
Additionally, because I was in a flow, I changed all private field names to start with an underscore.
2021-11-13 13:21:31 +01:00

29 lines
No EOL
792 B
C#

// <copyright file="Program.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
#pragma warning disable SA1200
global using BenchmarkDotNet.Attributes;
global using BenchmarkDotNet.Jobs;
global using BenchmarkDotNet.Running;
#pragma warning restore SA1200
namespace MUnique.OpenMU.Network.Benchmarks;
/// <summary>
/// The class of the entry point of the benchmark.
/// </summary>
public static class Program
{
/// <summary>
/// The entry point of the benchmark.
/// </summary>
/// <param name="args">The arguments.</param>
public static void Main(string[] args)
{
BenchmarkRunner.Run<EncryptionBenchmarks>();
BenchmarkRunner.Run<PacketSending>();
}
}