Ivan Dlugos
Ivan Dlugos
@mcosti I've tried to reproduce what you're seeing with `NaN` with `PageView` but couldn't. Any chance you can come up with a repro that you're able to share?
@kahest no updates yet, just started looking into this recently
[This article by a Dart SDK developer](https://medium.com/dartlang/dart-devtools-analyzing-application-performance-with-the-cpu-profiler-3e94a0ec06ae) gives some intro how profiling is implemented in the Dart VM and exposed via DevTools. TLDR: * there's native code in the dart...
@marandaneto I've considered that too but I'm not sure it's feasible because of the VM service port being exposed to every app on the device. It doesn't really matter whether...
So apparently, native profilers should work with AOT compiled dart. Going to see if I can make it work with our existing native SDK profilers. See this [thread on Discord](https://discord.com/channels/608014603317936148/613398126367211520/1127877396129919016)...
Update: sentry-cocoa profiler seems to work, somewhat. In a flutter app on macOS, I've started a transaction in swift, than ran a heavy operation in dart and stopped the swift...
After [some testing](https://github.com/getsentry/sentry-dart/tree/vaind/profiling-experiments), It seems like the native profiler could be the way to go, at least for iOS and macOS. However, I'm having issues with the symbolication - all...
OK, so this would definitely need more attention to get working properly. I'm not sure trying to investigate this deeply makes sense just yet, with other platforms not resolved yet....
Good, my idea was to verify the feasibility of native profiling on Flutter with the android SDK (as you have mentioned, via sentry-native most likely). PoC would be enough IMO...
Some notes on Android profiling: * `simpleperf` [apparently has issues](https://discord.com/channels/608014603317936148/1127877396129919016/1133132822228504596) profiling Dart * [`gperftools`](https://github.com/gperftools/gperftools) seems usable although the build system is a bit outdated and it's not clear whether Android...