Files
react-native-devtools-frontend/front_end/core
Nancy Li 4013a668f4 [Perf Panel Node] Able to download cpuprofile in Node mode
In Node mode, users are more willing to have .cpuprofile for later analysis.

This CL seperate the downloading logic for PerfPanel for Node, so for Node, we will directly download the stringfied CpuProfile (same as JS Profiler).
For web version, everything is the same, and the js samples we recorded in web version will be converted to TraceEvents and will be downloaded with other TraceEvent.

This CL also leave the possibility that we can skip the generating download-able file, for example when you load a file, you don't need to re-download it.

Screenshot: https://imgur.com/a/Ub1deMO
Bug: 1392446
Change-Id: Ib16fcf1258f9fd4838c15fb6de28f01d8f3da868
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4085865
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Nancy Li <nancyly@chromium.org>
2022-12-08 21:34:09 +00:00
..
2022-11-21 17:14:25 +00:00
2022-01-14 16:41:50 +00:00