Skip to main content

Benchmarks

These benchmarks compare aweXpect's happy-path overhead - passing assertions, the dominant case in a healthy test suite - against the equivalent FluentAssertions calls.

Methodology
  • Suite: HappyCaseBenchmarks driven by BenchmarkDotNet.
  • Job: MediumRun with the in-process toolchain.
  • Runner: ubuntu-latest GitHub Actions agent, refreshed on every push to main.
  • Each tab shows the latest measured time and allocated memory; bars are scaled within the row so length corresponds to magnitude. Lower is better.

Verifies that a boolean subject is true.

Time
aweXpect280.5 ns
FluentAssertions248.2 ns
+13%
Memory
aweXpect696 B
FluentAssertions952 B
−27%
Captured on commit 6852ae85 (2026-07-20) on ubuntu-latest.
aweXpect
await Expect.That(_boolSubject).IsTrue();
FluentAssertions
_boolSubject.Should().BeTrue();

View source on GitHub →