How to profile ESP32 application performance?
Posted: Fri Sep 27, 2019 7:10 pm
Hi!
Currently, we use ESP32-LyraT v4.3 for our project. There's a configuration option, CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS, that can print some performance information, but it only goes to big tasks, like main and idle.
Is there any option to get at least that information for separate functions?
I assume that everything from ESP-IDF environment works correctly and I want to know which of my own code functions takes most of the time and try to optimize them.
I know that there's also JTAG interface connection possibility, but can I get on without it?
Thanks.
Currently, we use ESP32-LyraT v4.3 for our project. There's a configuration option, CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS, that can print some performance information, but it only goes to big tasks, like main and idle.
Is there any option to get at least that information for separate functions?
I assume that everything from ESP-IDF environment works correctly and I want to know which of my own code functions takes most of the time and try to optimize them.
I know that there's also JTAG interface connection possibility, but can I get on without it?
Thanks.