I have strange issue in my win-form application where I am calling a stored procedure and it takes about 6 seconds to execute.
(This stored procedure accepts several parameters including one output parameter)

From application level I used :

```
Dim dt1 = DateTime.Now
cmd.ExecuteNonQuery()
MessageBox.Show(DateTime.Now.Subtract(dt1).Seconds)

```

This is about 5-6 seconds

I have tried running the same stored procedure with same parameters on `sql-server` and it takes no time to execute:

```
declare @val decimal
exec mysp 'value1','value2','value3','value4',@val out 
select @val

```

I am not sure what the issue is or where to start.