DependencyInjectorBenchmarks icon indicating copy to clipboard operation
DependencyInjectorBenchmarks copied to clipboard

Some questions

Open NikolayPianikov opened this issue 4 years ago • 1 comments

Well done, thanks.

I have a few questions:

  • I found that UnityBenchmark is actually StructureMapBenchmark
  • There are too much virtual invocations to measure performance (from my point of view). May be it will be better to use iteration within and may be add some duplicated invocations within this iteration. I found interesting resource
  • Also actual cases suppose resolving of objects` graphs but not single instances.
  • And the last: my measurements show that LightInject is much faster than DryIoc.

NikolayPianikov avatar Apr 26 '20 15:04 NikolayPianikov

Thanks for your comments. I should take a look again at this benchmark. I haven't kept it up to date, and as you said the benchmarking can certainly be improved.

I'll take a look and see if I can make some improvements.

stebet avatar Apr 26 '20 20:04 stebet