Closed mrober closed 4 months ago
The following release notes were modified. Please ensure they look correct.
<!DOCTYPE html>
firebase-crashlytics
Overall coverage changed from 9.53% (e449bc1) to 9.53% (65b4d2e) by -0.00%.
Filename | Base (e449bc1) | Merge (65b4d2e) | Diff |
---|---|---|---|
IdManager.java | 2.78% | 2.74% | -0.04% |
<!DOCTYPE html>
firebase-crashlytics
Type | Base (e449bc1) | Merge (65b4d2e) | Diff |
---|---|---|---|
aar | 409 kB | 409 kB | +33 B (+0.0%) |
apk (aggressive) | 688 kB | 688 kB | +8 B (+0.0%) |
apk (release) | 5.84 MB | 5.84 MB | +24 B (+0.0%) |
<!DOCTYPE html>
Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.
fire-cls
Device | Statistics | Distributions | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
oriole-32 |
20 test runs in comparison
| |||||||||||||||||||||||||||||||||||||
redfin-30 |
20 test runs in comparison
|
fire-rc
Device | Statistics | Distributions | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
oriole-32 |
20 test runs in comparison
| |||||||||||||||||||||||||||||||||||||
redfin-30 |
20 test runs in comparison
|
fire-sessions
Device | Statistics | Distributions | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
oriole-32 |
20 test runs in comparison
| |||||||||||||||||||||||||||||||||||||
redfin-30 |
20 test runs in comparison
|
timeToInitialDisplay
Device | Statistics | Distributions | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
oriole-32 |
20 test runs in comparison
| |||||||||||||||||||||||||||||||||||||
redfin-30 |
20 test runs in comparison
|
Improve cold initialization time by not validating the fid on init. We only need to detect if the fid has changed on initialization, we don't care if it's valid. Changing it, deleting it, manipulating it, whatever... should cause the Crashlytics id to rotate. That will still happen after this change.
In my local experiments, this improved the cold init time from about 300 ms to 50 ms. This does not affect warm init, when the fid and auth token are already cached. On the first report, if the auth token has not yet been fetched, it will get fetched at upload time. If validating the fid caused the fid to rotate, the Crashlytics id will also rotate on the next launch.