Magento: Difference between Mage::getSingleton() and Mage::getModel()

Mage::getSingleton() Mage::getSingleton() will first check the same class instance is exits or not in memory. If the instance is created then it will return the same object from memory. So Mage::getSingleton() faster then Mage::getModel(). $product1 and $product2 both will share same memory of OS and return only one instance each time. Mage::getgetModel() Mage::getModel() will create Read more…