Hi!
i wanted to know how fast the Raspberry Pi 2 with Windows 10 and an Universal App will react on a signal on an input port. I built a test scenario where an arduino is the stopwatch and a device has to react as fast as possible to a falling edge from an input port (generated by a manual push button) with a low signal to an output port. This falling edge will receive the arduino stopwatch and it will stop the measurement.
I measured some other configurations, too. Look at the image in the attachments. All values are in micro seconds.
The “Ausreißer” column means that there were rarely some measurements that were very high. Maybe because the operating system has done another task at the same time.
In the “Schleife” columns there are the results from an endless loop code whereas in the “Interrupt” columns the results from interrupt or event based code are.
Of course, the Arduino was the fastest - with the least powerfull processor.
I think it’s because there is no operation system and no other things that will slow done the execution.
It is good to know how long the reaction time is with the different technologies. Even the slowest reaction time of 0,026 Seconds may be fast enough for most applications - but not for everything.
Keep in mind that i tested the Insider Preview of Windows 10. The results will not show the performance of the final Windows 10 version!
I made a more detailed posting on my page:
Hope that helps someone.
Bye,
Daniel
Update 2015-08-15: Today I measured the Pi with the final Version of Windows 10. It is eight times faster then the CTP-Version if you poll the ports directly. :dance: I updated the image, too.