You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • Screen data transfer over SPI of course draws something too but I'd guess it is minimal when compared to CPU usage needed for typical javascript redraw routine (as the javascript interpreter may need to run thousands of cycles per each trivial JS line). Tens or hundreds of milliseconds of 100% cpu usage at ~4mA is much more than few miliseconds of SPI transfer and LCD screen pixel changes. As an example see this­376504/#16554635 - burning 15ms of cpu for base64 decoding and heatshrink decompression over and over again probably draws much more than pushing pixels to the display in the end. But still maybe those 15 ms per icon are not worth optimizing if drawn only once per minute.


Avatar for fanoush @fanoush started