mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-16 20:17:30 +08:00
8c2e444049
Added Span support in some places already, and changed Nullable to annotations to declare intent to enable nullable at some point in the future
36 lines
842 B
C#
36 lines
842 B
C#
using BenchmarkDotNet.Running;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using static System.Reflection.Metadata.BlobBuilder;
|
|
|
|
namespace CodeWalker.Benchmarks
|
|
{
|
|
internal class Program
|
|
{
|
|
|
|
|
|
static void Main(string[] args)
|
|
{
|
|
//var benchmarks = new Benchmarks();
|
|
|
|
//benchmarks.Setup();
|
|
//benchmarks.ToUInt64();
|
|
//benchmarks.ReadUInt64LittleEndian();
|
|
//benchmarks.ReadUInt64BigEndian();
|
|
//benchmarks.ToUIntBigEndian();
|
|
//benchmarks.HtmlEncode();
|
|
|
|
//benchmarks.GlobalCleanup();
|
|
|
|
//ParseBuffer();
|
|
|
|
BenchmarkRunner.Run<Benchmarks>();
|
|
}
|
|
}
|
|
}
|