mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 04:06:03 +03:00
Add initial benchmarking project
This commit is contained in:
parent
94e6a12bad
commit
7e325ea95d
3 changed files with 59 additions and 0 deletions
34
DotTiled.Benchmark/Program.cs
Normal file
34
DotTiled.Benchmark/Program.cs
Normal file
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using System.Security.Cryptography;
|
||||
using BenchmarkDotNet.Attributes;
|
||||
using BenchmarkDotNet.Running;
|
||||
|
||||
namespace MyBenchmarks
|
||||
{
|
||||
public class MapLoader
|
||||
{
|
||||
public MapLoader()
|
||||
{
|
||||
}
|
||||
|
||||
[Benchmark]
|
||||
public DotTiled.Map LoadWithDotTiled()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[Benchmark]
|
||||
public TiledLib.Map LoadWithTiledLib()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
//var summary = BenchmarkRunner.Run<Md5VsSha256>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue