Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive number of disk writes #1

Open
modestman opened this issue Sep 13, 2023 · 2 comments
Open

Excessive number of disk writes #1

modestman opened this issue Sep 13, 2023 · 2 comments
Assignees
Labels
bug Something isn't working performance For issues related to the performance of the SDK

Comments

@modestman
Copy link

modestman commented Sep 13, 2023

Hello! Congratulations with open source release!

The Xcode Organizer shows that AppMetrica SDK writes lots of data to disk, this can be optimized.
Apple documentation suggests:

  • Use write-ahead logging journaling mode
  • Use incremental auto_vacuum instead of full

CleanShot 2023-09-13 at 16 50 00@2x

@GLinnik21
Copy link
Contributor

Thanks for the report!
Could you please provide your environment (Xcode version) and the version of the SDK as well as a text version of the stack trace?

@GLinnik21 GLinnik21 added the bug Something isn't working label Sep 13, 2023
@modestman
Copy link
Author

Xcode 14.3.1, metrica-sdk-ios 4.5.2

I can't provide a text version of the stack trace because it is not a crash, it's just "Insight" from MetricKit. I've added the logs in the attachment if it's useful.

xcdiskwritepoint.zip

@GLinnik21 GLinnik21 added the good first issue Good for newcomers label Sep 13, 2023
@GLinnik21 GLinnik21 added performance For issues related to the performance of the SDK and removed good first issue Good for newcomers labels Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance For issues related to the performance of the SDK
Projects
None yet
Development

No branches or pull requests

3 participants