少し前に、PC上でのIoCコンテナのパフォーマンス調査を行いました。 www.nuits.jp 今回はXamarin上で調査しましたので、その情報を共有したいと思います。 それでまずは結果から見てみましょう。 まずはUnityの性能を100%としたときの評価グラフです。 具体的な数値は以下のとおりです。 Container Singleton - Registartion Singleton - Resolve Transient - Registartion Transient - Resolve DryIoc 75% 1169% 385% 2255% SimpleInjector 69% 527% 7% 2231% AutoFac 64% 104% 19% 184% AutoFac Lambda 96% 110% 5% 1236% Unity 100% 100% 100% 100% S
Autofac is an addictive Inversion of Control container for .NET Core, ASP.NET Core, .NET 4.5.1+, Universal Windows apps, and more. Register Components Build up containers with lambdas, types, or pre-built instances of components. You can also scan assemblies for registrations. var builder = new ContainerBuilder(); // Register individual components builder.RegisterInstance(new TaskRepository()) .As
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く