Performance between singleton and normal object?

Oct 18, 2008 at 12:33 PM
Hi all

Any performance difference between singleton pattern and normal object under Unity?

Oct 18, 2008 at 6:15 PM
Actually using the object will be unaffected. Resolving the object will probably be faster for singletons after the first time becuase it's less work for the container, but the actual difference depends greatly on the object in question and your environment.

If you need to know for your app, you really need to measure it yourself.