Hello,
I was making some performance measurements on a Panda, comparing performance running under Visual Studio, and running standalone. The code is very simple:
public class Program
{
public static void Main()
{
Boolean val = false;
OutputPort port = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.Di0, false);
while (true)
{
val = !val;
port.Write(val);
}
}
}
When I run the code in the debugger, it makes a nice ~8.1 kHz square wave, meaning we are executing the while loop at a little over 16 kHz. Running standalone showed a slight improvement (around 8.2 kHz square wave).
Is this in the ballpark for what I should expect in performance?
Thanks,
Paul