-
-
Notifications
You must be signed in to change notification settings - Fork 25
Perf‐Test Guide
Internal Mode is a hidden switch in the ThorVG Perf Test app that reveals tools helping for the ThorVG development.
Open the browser devtools console on any page of the app and run:
__tvg.internal() // enable
__tvg.internal(false) // disableA dropdown in the header switches which build of @thorvg/webcanvas the page runs on. Options are:
- Local : the version bundled with the app, taken from the workspace package.
- Public npm version : the list is fetched from the npm registry when the dropdown first opens.
Opens a modal that runs a fixed measurement over the current grid setup instead of the free-running live chart. The run has two phases, a 3 second warmup and a 10 second measurement window, and it reports:
- Average FPS
- Frame time: avg, min, max, p95
- Memory: average and peak, when the browser exposes it
Opens the ThorVG test automation app with the current animation, which renders a PDF report comparing ThorVG output against the reference.
Opens the current animation in the official ThorVG View in a new tab, which is useful for a quick side by side sanity check against a different player.