Hello Rishi Gosai
Yes, you can do this with "Server Driven Test" functionality. This allows you to receive and process the report at SQL Server side.
Change the connection string in the above example and execute, you will see the reports being logged to table SQLTest1_TestMessages_Log_Table after every test completion.
Once logged, you can compare average duration value across any number of executions.
Let me know if you have further questions.