Program.cs 553 B

1234567891011121314151617181920
  1. using BenchmarkDotNet.Configs;
  2. using BenchmarkDotNet.Running;
  3. namespace Terminal.Gui.Benchmarks;
  4. class Program
  5. {
  6. static void Main (string [] args)
  7. {
  8. var config = DefaultConfig.Instance;
  9. // Uncomment for faster but less accurate intermediate iteration.
  10. // Final benchmarks should be run with at least the default run length.
  11. //config = config.AddJob (BenchmarkDotNet.Jobs.Job.ShortRun);
  12. BenchmarkSwitcher
  13. .FromAssembly (typeof (Program).Assembly)
  14. .Run(args, config);
  15. }
  16. }