mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-17 04:24:14 -04:00
* Optimize CleanTitle * Optimize MangaEditionRegex * Optimize special regexes * Refactor manga|comic special parsing into simple tests * Word bind the special regexps. Support additional "special" use cases. * Updates to address PR comments * CleanTitle benchmarking * Use a smaller Comics Data set for benchmarking
15 lines
399 B
C#
15 lines
399 B
C#
using BenchmarkDotNet.Running;
|
|
|
|
namespace API.Benchmark;
|
|
|
|
/// <summary>
|
|
/// To build this, cd into API.Benchmark directory and run
|
|
/// dotnet build -c Release
|
|
/// then copy the outputted dll
|
|
/// dotnet copied_string\API.Benchmark.dll
|
|
/// </summary>
|
|
public static class Program
|
|
{
|
|
private static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
|
|
}
|