amplitude / amplitude/Amplitude-iOS

High number of disk writes with 4.8.2

Offen
#215 11 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
investigation
Vorherrschende Sprache
Objective-C
Sterne
328
Forks
194
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I integrated the Amplitude SDK (4.8.2) in our iOS app a few weeks ago.

Now when I follow up on some of our performance metrics I noticed quite a dramatic change in the number of disk writes. After some investigation and running the File Activity instruments I noticed that it is the Amplitude SDK that is causing the issue.

Screenshot 2019-11-18 at 21 12 18

Screenshot 2019-11-18 at 21 26 18

Screenshot 2019-11-18 at 21 26 49

It is not a lot of data (80MB in total) but the difference is that we doubled the amount when adding Amplitude.

The screenshot with excessive writes is over a time span of 1 second. So it is quite a lot of writes during the lifetime of the application.

It would be nice if the disk writes could be batched, if they are not already.
Is there anything else I could try to set on my side to make the writes happen less frequently?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.