Page 1 of 1

Code Performance Analyzer

Posted: Tue Jan 21, 2020 4:25 am
by StridingDragon
I am in the process of writing some finely tuned modules where performance is critical and I was wondering if anyone is aware of any Performance Analyzers for the ESP32. I'm looking for something like VTune that will analyze my code—either statically or at runtime—and gives me information about cache misses, memory stalls, processor stalls, split loads, etc.

Does such a tool exist for the ESP32 and where could I find it?

Re: Code Performance Analyzer

Posted: Sun Feb 23, 2020 11:45 pm
by ESP_Dazz
Checkout Performance Monitors. Basically, the ESP32 CPUs have performance counters to count/time specific CPU related events (e.g., stalls, exceptions, pipeline bubble cycles etc).

Re: Code Performance Analyzer

Posted: Mon Feb 24, 2020 12:01 am
by StridingDragon
Ah, very cool. Thank you so much.