Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/articles/configs/orderers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
- <xref:BenchmarkDotNet.Order.SummaryOrderPolicy>
- <xref:BenchmarkDotNet.Order.MethodOrderPolicy>
- <xref:BenchmarkDotNet.Order.JobOrderPolicy>

You can also use a custom orderer by implementing the <xref:BenchmarkDotNet.Order.IOrderer> interface.

---

[!include[IntroOrderAttr](../samples/IntroOrderAttr.md)]
Expand Down
2 changes: 1 addition & 1 deletion samples/BenchmarkDotNet.Samples/IntroOrderAttr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace BenchmarkDotNet.Samples
{
[Orderer(SummaryOrderPolicy.FastestToSlowest, MethodOrderPolicy.Declared)]
[Orderer(SummaryOrderPolicy.FastestToSlowest, MethodOrderPolicy.Declared, jobOrderPolicy: JobOrderPolicy.Default)]
[DryJob]
public class IntroOrderAttr
{
Expand Down
Loading