Skip to content

Set benchmark run job to Default to reduce flakiness #331

Description

@sanelli

Summary

BenchmarkDotNet is currently invoked with the Short job (-j Short) in Scripts/RunBenchmarks.ps1. Short runs use fewer iterations/warmups and produce noisier results, which makes benchmark comparisons and charts flaky.

Proposed change

  • Change the BenchmarkDotNet job from Short to Default (either -j Default or omit -j so BenchmarkDotNet uses its default job).
  • Keep exporters (Csv, Html, GitHub) and filter arguments unchanged unless they must be adjusted for the longer run.

Acceptance criteria

  • Scripts/RunBenchmarks.ps1 runs benchmarks with the Default job instead of Short.
  • Document any expected increase in wall-clock time if relevant (script comments / README).
  • Benchmark run completes successfully with Default job.

Context

Current invocation (approx.):

dotnet run -c Release --project ./Mappa.Benchmark/ -- -j Short -e "Csv" "Html" "GitHub" @filterArgs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions