I'm running the netmf demo dwps server and modified the client to do 10 calls to get an idea of the time it takes to do a simple call.
for (int x = 0; x < 10; x++)
{
DateTime start = DateTime.Now;
string resp = client.HelloWCF("World");
Console.WriteLine(string.Format("{0}, took {1}ms",resp,DateTime.Now.Subtract(start).Milliseconds));
}
Turns out it takes about 450ms per call to hello
Heres the output from the loop running on my laptop talking to a Fez Cobra running the dwps server.
Hello World, took 653ms
Hello World, took 418ms
Hello World, took 404ms
Hello World, took 406ms
Hello World, took 422ms
Hello World, took 404ms
Hello World, took 425ms
Hello World, took 405ms
Hello World, took 425ms
Hello World, took 403ms
Press any key to exit
Just wondering if anyone else is getting slow responses.
My plans were to interface to the FEZ Cobra via a MS Robotics DSS service to control a bot. but I think I need faster response then 1/2 second/call.