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

Log sync times to "major events" log #149

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

amberin
Copy link
Member

@amberin amberin commented Feb 1, 2024

This enables easier benchmarking of sync times when testing changes to
the sync logic. I am currently looking at alternative sync workflows for
Git repos, and it's hard to compare sync times just by looking.

Why did I remove the argument to AppLogsRepository.getFlow()? Because I
believe it was a case of over-engineering. There is no way to specify
which type of logs you want to view, and until there is, the only
reasonable behavior is to show all logs.

I have tested this code on my Pixel 5.

To facilitate installing and testing multiple branches of the app in
parallel.
This enables easier benchmarking of sync times when testing changes to
the sync logic. I am currently looking at alternative sync workflows for
Git repos, and it's hard to compare sync times just by looking.

Why did I remove the argument to AppLogsRepository.getFlow()? Because I
believe it was a case of over-engineering. There is no way to specify
which type of logs you want to view, and until there is, the only
reasonable behavior is to show all logs.
@amberin
Copy link
Member Author

amberin commented Feb 1, 2024

I don't actually intend to merge to the release branch - I just pointed to that now, since it is the latest code. When v1.8.15 has been released, this PR will be pointed to master.

@amberin amberin merged commit 94a68ee into orgzly-revived:release-1.8.15 Feb 2, 2024
@amberin amberin deleted the log-sync-events branch February 2, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants