Vikram Rajput · Feb 17, 2022 go to post

Even your exact code is taking close to 3.5 seconds for me. I am running the code remotely compare to your localhost. 

Vikram Rajput · Feb 16, 2022 go to post

Bob,

You are getting 0ms because you did not start the StopWatch :)

Can you please add that to your code and test it at your end?

var watch = new System.Diagnostics.Stopwatch();
 watch.Start();
Vikram Rajput · Feb 15, 2022 go to post

Thanks for the quick response.

Yes, data structure is different and I was running over the network. Let me remove those variables and run few more tests.

I will get back to you soon.