diff --git a/docs/articles/configs/orderers.md b/docs/articles/configs/orderers.md index e8506242e8..c9ccd01838 100644 --- a/docs/articles/configs/orderers.md +++ b/docs/articles/configs/orderers.md @@ -7,6 +7,13 @@ name: Orderers Orderers allows customizing the order of benchmark results in the summary table. +The following built-in order policies are available. +- +- +- + +You can also use a custom orderer by implementing the interface. + --- [!include[IntroOrderAttr](../samples/IntroOrderAttr.md)] diff --git a/samples/BenchmarkDotNet.Samples/IntroOrderAttr.cs b/samples/BenchmarkDotNet.Samples/IntroOrderAttr.cs index 32b29912b9..565291cd47 100644 --- a/samples/BenchmarkDotNet.Samples/IntroOrderAttr.cs +++ b/samples/BenchmarkDotNet.Samples/IntroOrderAttr.cs @@ -4,7 +4,7 @@ namespace BenchmarkDotNet.Samples { - [Orderer(SummaryOrderPolicy.FastestToSlowest, MethodOrderPolicy.Declared)] + [Orderer(SummaryOrderPolicy.FastestToSlowest, MethodOrderPolicy.Declared, jobOrderPolicy: JobOrderPolicy.Default)] [DryJob] public class IntroOrderAttr {