Performance Monitoring Tools - Editor based
TL;DR: It would be amazing to have performance monitoring tools added in the editor that let users see certain metrics like shape counts, vertex counts, and per-frame analytics. This would help users debug and optimise very heavy scenes.
The problem
When building illustratively dense scenes like forests, crowds, particle-heavy environments, layered parallax backgrounds. It gets hard to know whether the file will be able to run stable target devices (or more importantly, lower-end devices, like certain Android devices 🤣).
The current workflow is roughly:
1. Build the scene in the editor.
2. Export and send to the developer.
3. The developer implements it on the device
4. Says its performance sucks and it’s too slow/choppy.
5. Go back to the editor and guess at what to optimise.
6. Repeat.
As an artist, this process sucks and is a real bottleneck. Without visibility into where the cost is coming from, either through shape counts, vertex counts, overdraw, gradient complexity, mask usage, animated transforms, optimisation becomes trial and error.
Proposal: Editor-Time Performance Panel
A dockable panel in the Rive editor that shows live stats about the current artboard, updated as you work. Suggested metrics:
Scene complexity
- Total shape count (broken down by visible / hidden / off-artboard)
- Total vertex count across all paths
- Number of unique vs. instanced shapes (Component usage)
- Number of active masks / clipping operations
- Number of effects in use (blur, feather, etc.) with a flag if any are particularly expensive
Per-frame estimated cost
- Estimated CPU cost/timing
- Estimated GPU cost/timing
- Number of animated properties currently changing per frame
- A simple traffic-light indicator (green / amber / red) calibrated against common target devices
Target device presets
- Let users pick a target profile (e.g. “Mid-range Android”, “Flagship iOS”, “Desktop”) and have the indicators calibrate accordingly.