In a previous post I claimed that perl was much faster than python and bonescript at the classic led hello world blink test. I made this claim based on how fast the LED looked like it was blinking, but I thought I should actually do the test and make sure!
I knocked up some quick LED blinking scripts, hooked up my scope and put it to the test – with some interesting results:
Python Script: 44Hz
*Disclaimer* The Scripts that I used weren’t code optimised, and they use the GPIO file interface.