MozillaReality / unity-webxr-export

INACTIVE - Assets for creating WebXR-enabled Unity3D projects.
https://mixedreality.mozilla.org/unity-webxr-export/Build/
Apache License 2.0
626 stars 127 forks source link

collect default, opt-out basic performance timing data in Google Analytics (as custom GA events) #170

Closed cvan closed 6 years ago

cvan commented 6 years ago

Google Analytics are to be added in issue #169. This issue is for adding performance metrics around page loading, emscripten module loading, and canvas + WebGL performance.

Just like as with issue #169, collecting and submitting this information is opt-out-able and we're including it so we can properly instrument performance issues and improve the stability of this project.

Check out the numerous JavaScript APIs available in the browser with which to instrument various performance data.


Parent issue: #165 Related issues:

cvan commented 6 years ago

found this very relevant list of projects/tools for perf telemetry:

"Firefox Telemetry" is not what we're interested in here, but I figured these links are worth looking at (for those who are curious).

delapuente commented 6 years ago

We should assess the feasibility of measuring emscripten module loading (although I think you mean wasm modules) and define what it is to measure canvas + WebGL performance in separated bugs.

cvan commented 6 years ago

basic performance timings handled in PR #189 by @delapuente!

we will file additional specific metrics we want to profile as we discover from users/developers what we need.