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.
 
 
 
 

18 lines
551 B

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