element-hq / element-hq/element-x-ios

Add client side performance tracking to Posthog

Open
#2,074 0 comments 0 reactions 0 assignees View on GitHub
A-Analytics A-Performance T-Enhancement
Dominant language
Swift
Stars
945
Forks
372
Avg merge
21h 42m
Merged PRs (30d)
67

Description

**Is your feature request related to a problem? Please describe.**
We test for performance via CI and track it [here](https://vector-im.github.io/element-x-ios/performance/). It is not possible to catch everything and it would be good to have real world telemetry to help determine where the test suite is incomplete.

**Describe the solution you'd like**
We need real-world telemetry (I assume via posthog). Proposed metrics to track, essentially modelling the CI tests:-
* Launch time
* Login time
* First Sync time
* First Rooms time

**Describe alternatives you've considered**
The only other alternative is to consider serverside stats, but I don't think this will be realistic.

**Additional context**
This issue is motivated by issues like https://github.com/vector-im/element-x-ios/issues/2062 going undetected.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.