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
aweXpect244.5 ns
FluentAssertions237.4 ns
+3%
Memory
aweXpect696 B
FluentAssertions952 B
−27%
Captured on commit 0927987f (2026-06-08) on ubuntu-latest.
aweXpect
await Expect.That(_boolSubject).IsTrue();
FluentAssertions
_boolSubject.Should().BeTrue();

View source on GitHub →