sony / flutter-embedded-linux

Embedded Linux embedding for Flutter
BSD 3-Clause "New" or "Revised" License
1.19k stars 127 forks source link

how to measure flutter performance on embedded device #407

Closed 0xkelvin closed 7 months ago

0xkelvin commented 7 months ago

Hello,

is there any way to profile or measure : performance, memory consumption... of flutter app on embedded device (my case is nxp imx8x) i saw https://docs.flutter.dev/tools/devtools/overview quite useful, don't know if any equivalent for embedded device.

thanks

HidenoriMatsubayashi commented 7 months ago

Sorry, I don't understand what you want to know here...But you can use devtools on embedded devices.

0xkelvin commented 7 months ago

i basically want to see memory consumption, cpu load when running flutter app on my nxp imx8x. it is good to know that devtools can use on embedded devices, is there any guideline how to use it on embedded devices @HidenoriMatsubayashi ?

thanks

HidenoriMatsubayashi commented 7 months ago

For memory consumption and cpu load, in general, I think you can use Linux commands like 'top' command.

See https://github.com/sony/flutter-elinux/wiki/Debugging-with-DevTools for the devtools and use flutter-elinux.

HidenoriMatsubayashi commented 7 months ago

Closing. Thanks.