-
Notifications
You must be signed in to change notification settings - Fork 215
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
Benchmark for Compose #169
Comments
Passing this over to @bentrengrove. AFAICT we don't have a specific microbenchmark with Compose somewhere in our repo at the moment. I'd be up for having it in here though. |
Sorry for the delay here, we are working to make a sample available. I will leave this bug open. |
@bentrengrove Is there an update for this or should one just use Macrobenchmarks? |
There are issues we are working on that make the results from Microbenchmark used with Compose unstable and thus not really reliable, mainly around how long it takes to stabilise the JIT compilation. Once those are resolved we will make a sample for microbenchmark and Compose. You could use Macrobenchmark for your question with a memory metric. It can be hard to differentiate from the noise but one technique is to just test a large number of the composable at the same time. So you could compose |
Is there anything from Androidx that would be a good sample? or a good support library? |
That's what we are working on. The AndroidX version uses a lot of internal APIs, no commitment but its our goal to bring this feature set to everyone |
How to implement microbenchmark test for compose function?
The text was updated successfully, but these errors were encountered: