-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
FPS added to Android benchmark #2944
FPS added to Android benchmark #2944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
...idTestApp/src/main/java/org/maplibre/android/testapp/activity/benchmark/BenchmarkActivity.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like all benchmark results in one JSON file. Makes processing a bit easier.
@alexcristici If you want I can make the needed changes.
Sure, thank you! |
I have added another style and write out the results of each run individually (along with syncRendering boolean). Also I cleaned up the code a little bit. |
!benchmark android |
Android benchmark will run first with synchronous rendering and then async rendering.
It will save the results in different files:
benchmark_results_sync_rendering.json
andbenchmark_results_async_rendering.json
.For each it will report FPS, encoding time and rendering time.