I am building an application and I have the feeling that the simulator is getting slower after a series of hot reloads.
Dart comes with a debugger called Observatory
. It does a bit of everything you need. From CPU/Memory usage, to time spent on each functions. Even breakpoints and code coverage.
When running your flutter app, it's available by default on the localhost.
When running flutter run
in the terminal, the port will be displayed.
On vscode with Dart code
extension, you'll need to use the command Open Observatory timeline
.