What problem would this feature solve?
Provides objective, reproducible performance data for NexusDI and other DI containers. This helps guide optimizations, ensures regressions are caught early, and demonstrates NexusDI’s strengths to users and contributors.
Proposed solution or design
Maintain a benchmarking suite as an Nx plugin, including:
- A generator to scaffold new benchmarks for NexusDI and other DI containers.
- An executor to run benchmarks and collect results in a consistent format.
Benchmarks cover common DI operations (container creation, registration, resolution, etc.) and real-world scenarios. Results are used for documentation, marketing, and ongoing optimization.
Additional context
See the NexusDI Roadmap for the role of benchmarking in ongoing development and optimization. The Nx plugin approach ensures benchmarks are easy to extend and run as part of CI or release workflows.
What problem would this feature solve?
Provides objective, reproducible performance data for NexusDI and other DI containers. This helps guide optimizations, ensures regressions are caught early, and demonstrates NexusDI’s strengths to users and contributors.
Proposed solution or design
Maintain a benchmarking suite as an Nx plugin, including:
Benchmarks cover common DI operations (container creation, registration, resolution, etc.) and real-world scenarios. Results are used for documentation, marketing, and ongoing optimization.
Additional context
See the NexusDI Roadmap for the role of benchmarking in ongoing development and optimization. The Nx plugin approach ensures benchmarks are easy to extend and run as part of CI or release workflows.