Skip to content

docs: lighten the tables and mark the severity of each diagnostic - #470

Merged
vbreuss merged 2 commits into
mainfrom
docs/diagnostics-tables
Nov 22, 2026
Merged

vbreuss merged 2 commits into
mainfrom
docs/diagnostics-tables

Conversation

@vbreuss

@vbreuss vbreuss commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Infima draws a box around every cell, stripes the rows and fills the header, which made the index of more than 150 diagnostics a heavy grid, and inline code turned into a column of outlined boxes. A colored dot now tells errors from warnings, which read alike as plain text.

@vbreuss vbreuss self-assigned this Nov 22, 2026
@vbreuss vbreuss added the documentation Improvements or additions to documentation label Nov 22, 2026
@vbreuss
vbreuss added this pull request to stack #472 November 22, 2026 06:15
Base automatically changed from docs/benchmarks-and-changelog to main November 22, 2026 06:39
Infima draws a box around every cell, stripes the rows and fills the header, which made the index of more than 150 diagnostics a heavy grid, and inline code turned into a column of outlined boxes. A colored dot now tells errors from warnings, which read alike as plain text.
The index wraps each severity in a span that draws its colored dot, so the cell no longer starts with the severity itself and the check that ties each row to its descriptor failed.
@vbreuss
vbreuss force-pushed the docs/diagnostics-tables branch from f39e9b2 to af74ac7 Compare November 22, 2026 06:39
@vbreuss
vbreuss merged commit 48a3b1a into main Nov 22, 2026
11 of 12 checks passed
@vbreuss
vbreuss deleted the docs/diagnostics-tables branch November 22, 2026 06:54
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

🚀 Benchmark Results

Compared to the latest run of main @​ 8933383a. The time table marks when Awaiten gets more than 15% faster or slower, which can also come from a faster or slower runner. A relative change marks when Awaiten gets more than 15% faster or slower relative to MS.DI, Autofac, DryIoc and Simple Injector: 🔴 / 🟢 against all of them, 🔸 / 🔹 against some.

Relative performance (how many times as long the other container takes as Awaiten, main → PR)

Benchmark vs MS.DI vs Autofac vs DryIoc vs Simple Injector
Build (Size=256) 93.4× → 51.8× 🔴 +80% 4518.2× → 2298.0× 🔴 +97% 267.9× → 166.5× 🔴 +61% 2277.5× → 1251.0× 🔴 +82%
Build (Size=8) 83.3× → 62.7× 🔴 +33% 1632.7× → 1011.7× 🔴 +61% 39.4× → 31.3× 🔴 +26% 665.1× → 461.6× 🔴 +44%
Realistic 2.22× → 2.25× 24.3× → 17.9× 🔸 +36% 1.55× → 1.62× 2.72× → 2.40×
All benchmarks compared to main
Benchmark Time Memory vs MS.DI vs Autofac vs DryIoc vs Simple Injector
Build (Size=256) 166.8 ns → 191.4 ns (+15%) 4,432 B → 4,432 B 93.4× → 51.8× 🔴 +80% 4518.2× → 2298.0× 🔴 +97% 267.9× → 166.5× 🔴 +61% 2277.5× → 1251.0× 🔴 +82%
Build (Size=8) 18.0 ns → 18.2 ns (+1%) 216 B → 216 B 83.3× → 62.7× 🔴 +33% 1632.7× → 1011.7× 🔴 +61% 39.4× → 31.3× 🔴 +26% 665.1× → 461.6× 🔴 +44%
Realistic 270.8 ns → 231.9 ns (-14%) 568 B → 568 B 2.22× → 2.25× 24.3× → 17.9× 🔸 +36% 1.55× → 1.62× 2.72× → 2.40×
Resolve (Size=256) 7.5 ns → 7.1 ns (-6%) 0 B → 0 B 0.97× → 1.04× 16.3× → 16.5× 1.19× → 1.22× 1.93× → 1.95×
Resolve (Size=8) 6.5 ns → 6.4 ns (-1%) 0 B → 0 B 1.14× → 1.15× 19.2× → 18.6× 1.38× → 1.36× 1.72× → 1.71×
Raw results of BuildBenchmarks
BenchmarkDotNet v0.15.8, Linux Ubuntu 26.04.1 LTS (Resolute Raccoon)
Intel Xeon 6975P-C 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.404
  [Host] : .NET 10.0.15 (10.0.15, 10.0.1526.53008), X64 RyuJIT x86-64-v4

Job=InProcess  Toolchain=InProcessEmitToolchain  IterationCount=15  
LaunchCount=1  WarmupCount=10  

Build Size Mean Error StdDev Ratio Allocated Alloc Ratio
Awaiten 8 18.20 ns 2.508 ns 2.346 ns 1.01 216 B 1.00
MsDI 8 1,140.85 ns 4.718 ns 3.940 ns 63.54 5688 B 26.33
Autofac 8 18,414.00 ns 328.465 ns 307.246 ns 1,025.65 32474 B 150.34
DryIoc 8 569.65 ns 3.834 ns 3.586 ns 31.73 1528 B 7.07
SimpleInjector 8 8,402.73 ns 100.558 ns 89.142 ns 468.03 24760 B 114.63
Awaiten 256 191.43 ns 3.077 ns 2.878 ns 1.00 4432 B 1.00
MsDI 256 9,925.25 ns 185.941 ns 173.929 ns 51.86 61016 B 13.77
Autofac 256 439,889.40 ns 4,487.004 ns 4,197.147 ns 2,298.43 739701 B 166.90
DryIoc 256 31,868.48 ns 168.473 ns 157.590 ns 166.51 79997 B 18.05
SimpleInjector 256 239,479.79 ns 1,425.636 ns 1,263.789 ns 1,251.29 571201 B 128.88
Raw results of RealisticResolveBenchmarks
BenchmarkDotNet v0.15.8, Linux Ubuntu 26.04.1 LTS (Resolute Raccoon)
Intel Xeon 6975P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.404
  [Host] : .NET 10.0.15 (10.0.15, 10.0.1526.53008), X64 RyuJIT x86-64-v4

Job=InProcess  Toolchain=InProcessEmitToolchain  IterationCount=15  
LaunchCount=1  WarmupCount=10  

Realistic Mean Error StdDev Ratio Allocated Alloc Ratio
Awaiten 231.9 ns 7.63 ns 7.14 ns 1.00 568 B 1.00
MsDI 522.4 ns 10.06 ns 8.92 ns 2.25 1104 B 1.94
Autofac 4,149.2 ns 42.43 ns 39.69 ns 17.91 10784 B 18.99
DryIoc 376.3 ns 9.06 ns 8.47 ns 1.62 944 B 1.66
SimpleInjector 555.6 ns 4.56 ns 4.26 ns 2.40 1096 B 1.93
Raw results of ResolveBenchmarks
BenchmarkDotNet v0.15.8, Linux Ubuntu 26.04.1 LTS (Resolute Raccoon)
AMD EPYC 7763 2.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.404
  [Host] : .NET 10.0.15 (10.0.15, 10.0.1526.53008), X64 RyuJIT x86-64-v3

Job=InProcess  Toolchain=InProcessEmitToolchain  IterationCount=15  
LaunchCount=1  WarmupCount=10  

Resolve Size Mean Error StdDev Ratio Allocated Alloc Ratio
Awaiten 8 6.398 ns 0.0200 ns 0.0178 ns 1.00 - NA
MsDI 8 7.338 ns 0.0408 ns 0.0381 ns 1.15 - NA
Autofac 8 118.967 ns 2.1632 ns 2.0235 ns 18.59 656 B NA
DryIoc 8 8.729 ns 0.1662 ns 0.1555 ns 1.36 - NA
SimpleInjector 8 10.923 ns 0.0257 ns 0.0228 ns 1.71 - NA
Awaiten 256 7.105 ns 0.0189 ns 0.0148 ns 1.00 - NA
MsDI 256 7.363 ns 0.0614 ns 0.0574 ns 1.04 - NA
Autofac 256 116.919 ns 2.1139 ns 1.9773 ns 16.46 656 B NA
DryIoc 256 8.681 ns 0.1670 ns 0.1562 ns 1.22 - NA
SimpleInjector 256 13.886 ns 0.0160 ns 0.0142 ns 1.95 - NA

github-actions Bot added a commit that referenced this pull request Nov 22, 2026
…everity of each diagnostic (#470) by Valentin Breuß
github-actions Bot added a commit that referenced this pull request Nov 22, 2026
…everity of each diagnostic (#470) by Valentin Breuß
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant