ESP profiler app running on FireBeetle 2 ESP32-C6 IoT Development Board with Arduino
During ESP-series SoC development, running your application alongside a profiler offers invaluable insights into code efficiency and execution bottlenecks on physical hardware. By pinpointing resource-heavy tasks and excessive processing loops early, you can optimize your code to eliminate CPU overloading and maintain smooth system performance.
To monitor these metrics in real time without relying on a serial console, you can pair your setup with an I2C SSD1306 OLED display. Rendering live CPU load percentages on the screen provides immediate visual feedback during hardware testing, making it easy to spot sudden processing spikes as you interact with the device.

git clone https://github.com/teamprof/arduino-esp-pf-app.git- Open "arduino-app.ino" under "arduino-app" folder under Arduino IDE
- On Arduino IDE, click menu "Tools" -> "Board: " -> "Board Manager..." ->
"DFRobot FireBeetle 2 ESP32-C6"
- On Arduino IDE, click menu "Tools" -> "USB CDC On Boot:" -> "Enable"
- Build the code by clicking Menu -> “Sketch” -> “Compile/Verify”
If everything goes smoothly, you should see the following screen.

- On Arduino IDE, click Menu -> “Sketch” -> “Upload”
If everything goes smoothly, you should see the following screen.

- On Arduino IDE, open Serial monitor and then reset the board
If everything goes smoothly, you should see the following screen.









