* Fixes an issue with moving directories across volumes * Removes usages of WebClient * Removes usages of Cryptographic Providers Note: Even though .NET 6 introduces Xoshiro RNG, there is no way to control the seed. I'll do some reconciliation of Xoshiro so it functions closer to the built in one. For the most part, it has parity though. Benchmarks show there is nothing odd about the implementations, they are within 1ns of each other.
21 lines
924 B
C#
21 lines
924 B
C#
using BenchmarkDotNet.Running;
|
|
using Benchmarks.Benchmarks.Rng;
|
|
|
|
namespace Benchmarks
|
|
{
|
|
public static class Program
|
|
{
|
|
private static void Main(string[] args)
|
|
{
|
|
// var featureFlags = BenchmarkRunner.Run<BenchmarkFeatureFlags>();
|
|
// var packetConstruction = BenchmarkRunner.Run<BenchmarkPacketConstruction>();
|
|
// var broadcast = BenchmarkRunner.Run<BenchmarkPacketBroadcast>();
|
|
// var stringHelpers = BenchmarkRunner.Run<BenchmarkStringHelpers>();
|
|
// var indexList = BenchmarkRunner.Run<BenchmarkOrderedHashSet>();
|
|
// var textEncoding = BenchmarkRunner.Run<BenchmarkTextEncoding>();
|
|
// var logging = BenchmarkRunner.Run<BenchmarkConsoleLogging>();
|
|
// var gumpPacket = BenchmarkRunner.Run<OutgoingGumpPacketBenchmarks>();
|
|
var rngTest = BenchmarkRunner.Run<BenchmarkXoshiro>();
|
|
}
|
|
}
|
|
}
|