Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/introduction/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ scenarios below. It is slower only on a warm singleton lookup, against dependenc
that-depends and wireup. A whole request cycle (enter a scope, resolve a cached dependency with an
async finalizer, close the scope) costs modern-di 1.66 µs on the machine below.

Measured on 2026-10-17 at `473ce2a` (4.1.0 plus unreleased changes on main, including [#694](https://github.com/modern-python/modern-di/pull/694), which gives each factory its own copy of its resolver code) on an
Apple M2 (macOS 26.6.2) with CPython 3.14.7 and the GIL, median over 5 runs. Rival versions:
dependency-injector 4.49.1, that-depends 4.2.0, dishka 1.10.1, wireup 2.12.1. The tables are
regenerated by hand and lag behind releases. To measure the version you run, see
Measured on 2026-10-17 with modern-di 4.2.0 on an Apple M2 (macOS 26.6.2) with CPython 3.14.7 and
the GIL, median over 5 runs. Rival versions: dependency-injector 4.49.1, that-depends 4.2.0, dishka
1.10.1, wireup 2.12.1. The tables are regenerated by hand and lag behind releases. To measure the
version you run, see
[Reproduce it yourself](#reproduce-it-yourself).

## Results
Expand Down
Loading