feat(benchmark_di): add resolve phases, eager/lazy scenarios, and adapter parity

This commit is contained in:
Klim
2026-04-22 20:33:07 +03:00
parent 59234b44c2
commit 4077ed8469
13 changed files with 383 additions and 257 deletions

View File

@@ -1,9 +1,12 @@
/// Enum to represent the DI registration/binding mode.
enum UniversalBindingMode {
/// Singleton/provider binding.
/// Eager singleton — instance created at registration time.
singletonStrategy,
/// Factory-based binding.
/// Lazy singleton — instance created on first resolve, then cached.
lazySingletonStrategy,
/// Factory-based binding — new instance every time.
factoryStrategy,
/// Async-based binding.