di 0.0.38 di: ^0.0.38 copied to clipboard
Dependency Injection framework
0.0.37 #
Combined with previous release (0.0.36) injector is on average 2x faster.
Before:
VM:
DynamicInjectorBenchmark(RunTime): 231.93784065870346 us.
StaticInjectorBenchmark(RunTime): 107.05491917353602 us.
dart2js:
DynamicInjectorBenchmark(RunTime): 2175 us.
StaticInjectorBenchmark(RunTime): 765.1109410864575 us.
After:
VM:
DynamicInjectorBenchmark(RunTime): 156.3721657544957 us.
StaticInjectorBenchmark(RunTime): 54.246114622040196 us.
dart2js:
DynamicInjectorBenchmark(RunTime): 1454.5454545454545 us.
StaticInjectorBenchmark(RunTime): 291.9281856663261 us.
Bug Fixes #
- warnings: refactored injector to fix analyzer warnings (7d374b19)
Performance Improvements #
- injector:
- resolvedTypes: minor performance inmprovement in resolvedTypes (ba16bde5)