flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.55k stars 318 forks source link

Enable export from CPU Profiler. #7050

Open polina-c opened 7 months ago

polina-c commented 7 months ago

I am analyzing CPU profile and I would like to search by some words. For example, to highlight frames from certain library.

It would be great to be able to export what i see in some text or csv format so that I can analyse and may be annotate it in spreadsheets or text editor.


DevTools version: 2.31.0 Connected Device: CPU / OS: arm64 (64 bit) macos Connected app type: Flutter native (debug build) Dart Version: 3.4.0-24.0.dev Flutter Version: 3.19.0-6.0.pre.18 / master Framework / Engine: 0503c44718 / d4b6b7ec8e

kenzieschmoll commented 7 months ago

The search use case would be covered by https://github.com/flutter/devtools/issues/2524. Between search and filter within the tool itself, that should give you what you are looking for.

I'm not sure we want to maintain multiple forms of export, since we already maintain exporting the CPU profiler screen data as JSON. Exporting a tree table as text would also be difficult since the parent-child relationships would be lost.