Code Performance Analyzer

StridingDragon
Posts: 46
Joined: Fri Aug 02, 2019 11:59 pm

Code Performance Analyzer

Postby StridingDragon » Tue Jan 21, 2020 4:25 am

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?

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: Code Performance Analyzer

Postby ESP_Dazz » Sun Feb 23, 2020 11:45 pm

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).

StridingDragon
Posts: 46
Joined: Fri Aug 02, 2019 11:59 pm

Re: Code Performance Analyzer

Postby StridingDragon » Mon Feb 24, 2020 12:01 am

Ah, very cool. Thank you so much.

Who is online

Users browsing this forum: Baidu [Spider], MicroController, micronpn and 227 guests