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.
 
 
 
 

20 lines
601 B

  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. AddValidator(JitOptimizationsValidator.DontFailOnError); // ALLOW NON-OPTIMIZED DLLS
  16. AddJob(Job.InProcess);
  17. }
  18. }
  19. }