Open shortbloke opened 7 years ago
The WS281x part of the connector is fairly CPU hungry - because it includes animations in its arsenal it runs a frequent rendering loop. A possible improvement would be to suppress running this rendering loop when simple colours (not animations) are selected - pull-requests welcome :)
So it's working as expected
Environment
Issue
top
orhtop
to monitor resource usage.sudo env DEBUG='meshblu-connector-ws2811*' npm start
Comparison
This connector is based on usage of rpi-ws281x-native node module. However this module doesn't look to have the same CPU issues. For example running the examples from
~/meshblu-connector-ws2811/node_modules/rpi-ws281x-native/examples
Shows:sudo node rainbow.js 144
sudo node iterate.js 144
sudo node brightness.js 144