ProCoSys / Bifrost

Application Development Framework promoting good development practices such as CQRS and MVVM (see readme)
http://bifrost.dolittle.com
Other
1 stars 1 forks source link

CommandSecurityProxies.Generate is too slow #28

Closed bnordli closed 8 years ago

bnordli commented 8 years ago

After profiling the ProCoSys application, getting a dummy instance of the command in CommandSecurityProxies.Generate accounts for 5,3% of samples.

It is using the container to retrieve a command, which is potentially very slow. It should just be using the activator to create instances, as all commands should have a default constructor.

andersnygaard commented 8 years ago

Resolved with pull request #32