You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920
  1. using System.Linq;
  2. using BenchmarkDotNet.Configs;
  3. using BenchmarkDotNet.Jobs;
  4. using BenchmarkDotNet.Validators;
  5. namespace MQTTnet.Benchmarks.Configurations
  6. {
  7. /// <summary>
  8. /// this options may be used to run benchmarks in debugmode and attach a performance profiler
  9. /// https://benchmarkdotnet.org/Configs/Configs.htm
  10. /// </summary>
  11. public class AllowNonOptimized : BaseConfig
  12. {
  13. public AllowNonOptimized()
  14. {
  15. Add(JitOptimizationsValidator.DontFailOnError); // ALLOW NON-OPTIMIZED DLLS
  16. Add(Job.InProcess);
  17. }
  18. }
  19. }