Just as an aside, I'm also working with a library that sends a lot of data on a timer interrupt, also every 5ms, I need to collect data regarding the update times, but the big difference with mine is that I'm using the HSPI port to drive a 32 x 16 dot matrix display.
I haven't tried it with any networking running yet, so that's going to be interesting... What would be the best way to get data out regarding the execution time of a timer interrupt? Should I just call it manually and measure it with millis()? I ask because it sounds like the more data you have regarding these issues, the better.
/* disable all interrupts */
#define ETS_INTR_LOCK()
/* enable all interrupts */
#define ETS_INTR_UNLOCK()
9
ets_intr_lock()
ets_intr_unlock()