Your First Profiling Exercise
Open your IDE and launch the Flutter DevTools.
Challenge
- Run the default counter app.
- Look at the CPU Profiler.
- Identify the
build()method cost. - Task: Find one unnecessary
setStatecall and remove it.
Goal: Reduce the execution time of the main frame by 15%. This is your daily discipline. If you don't profile, you don't grow.