i do not agree with this statement
Its a myth that the stored procedure perform better than SQL queries
Did you see this
Execution Plan Recompiles
Performance is affected every time a query results in the creation of a new execution plan or when a plan is recompiled. Recompiles are not always a bad thing. The initial plan that was created may not be optimal for other calls or data may have changed. A recompile might be needed to create a better plan. The optimizer generally causes a recompile when it is necessary; however, there are steps that you can take to ensure that recompilation does not occur when it is not needed. The following guidelines help you avoid frequent recompiles:
Use stored procedures or parameterized queries.
Use sp_executesql for dynamic code.
Avoid interleaving DDL and DML in stored procedures, including the tempdb database DDL.
Avoid cursors over temporary tables.
Use Stored Procedures or Parameterized Queries
and from here
http://msdn.microsoft.com/en-us/library/ff647793.aspx#scalenetchapt14 _topic10
now this tells you something that , if in your application you execute naked statements(Non StoredProcedure), the execution plan will be created for each request and it is a performance problem, but with the storedprocedure the execution plan is stored and it does no need to be created when the SP is called , that is why i say i disagree with that statement
Its a myth that the stored procedure perform better than SQL queries
Thank you for posting at Dotnetfunda
Vuyiswa Maseko