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

Experimental looping snapshot runner #317

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rbro112
Copy link
Contributor

@rbro112 rbro112 commented Dec 19, 2024

WIP/EXPERIMENTAL - DO NOT REVIEW

Implements snapshots in a similar manner to how Lottie operates: https://github.com/airbnb/lottie-android/blob/master/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/LottieSnapshotTest.kt

Leverages a loop/more parallelized approach.

Local results showed ~30% improvement in runtimes from parameterized approach (didn't do strict benchmarking, just average across some local runs before/after), but loses us the Junit test reporting and test siloing that brings.

Going to potentially experiment more to see why we're getting less than Lottie (~1k/min)

Copy link
Contributor Author

rbro112 commented Dec 19, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

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.

1 participant