Benchmarks for BeagleBone Black GPIO with Python, C, C++, and Shell @beagleboardorg
Code and Life ran some benchmarks on the BealgeBone Black’s GPIOs using multiple libraries, including Adafruit’s own Adafruit_BBIO Python Library. The results are useful for any maker looking for existing benchmarks that compare and contrast multiple languages and libraries, for their own projects.
The test is a basic “toggle one GPIO pin as fast as possible”. It does not measure multiple pin performance, input performance or the capabilities of built-in hardware capabilities like I2C communications or PWM which might operate on significantly higher speeds. It basically tells that with benchmark speed of 1 kHz, you can expect 2000 toggles per second on that programming language, or on average 0.5 ms for a single toggle.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.