From 3f93945e6ff7d09b6060188386f6872122cf78f4 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sat, 3 Oct 2026 18:20:05 +0300 Subject: [PATCH] docs: match the C3 dependency-injector ratio to the table --- docs/introduction/performance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/introduction/performance.md b/docs/introduction/performance.md index 2ff1663e..c17c1059 100644 --- a/docs/introduction/performance.md +++ b/docs/introduction/performance.md @@ -121,7 +121,7 @@ _Across-run IQR of each side's own median (5 runs): modern-di ≤1.1%, rivals ## What the numbers show - Against `dependency-injector`, modern-di is faster by reference on C1 (**0.42**) and - C3 (**0.37**), and far faster on the batched C4 request lifecycle (**0.02**). + C3 (**0.36**), and far faster on the batched C4 request lifecycle (**0.02**). dependency-injector's C4 body calls `init_resources()`/`shutdown_resources()` every cycle in addition to resolving; the suite doesn't decompose how much of its per-request cost is that lifecycle work versus the resolve itself, so C4 should be read as a whole-lifecycle