I have a stored procedure which when run from SQL Server Management Studio consistently takes 5 seconds to run when called like this.
exec dbo.MyStoredProc
Everything you need to know about this topic: Slow in the Application, Fast in SSMS? Understanding Performance Mysteries