mirror of
https://github.com/MUnique/OpenMU
synced 2026-08-15 14:32:19 -04:00
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.
29 lines
No EOL
792 B
C#
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>();
|
|
}
|
|
} |