CesiumGS / cesium-native

Apache License 2.0
415 stars 210 forks source link

Integrate perfetto for cross platform performance analysis #603

Open batesj opened 1 year ago

batesj commented 1 year ago

I see an old perfetto branch (https://github.com/CesiumGS/cesium-native/commit/a30e07011ccffc3d039793f7914b338a7dcd2984).

Is there any plan to provide perfetto as an alternative tracing macro implementation? Perfetto works on Linux, Mac, Android and Windows and comes with a polished UI (https://ui.perfetto.dev/) for scrubbing through trace events.

kring commented 1 year ago

I would be interested in exploring it, but we have no current plans to do so. I believe the last time we looked at it (admittedly a year or two ago now), Windows was either unsupported or poorly supported. Hopefully that has changed by now.