-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Perform benchmarks #7
Labels
Comments
hecrj
added
help wanted
Extra attention is needed
improvement
An internal improvement
labels
Sep 5, 2019
I can try to have a look 🕵🔎 |
@tgotwig Awesome! I really appreciate the help. Let me know if you need anything. |
Looks to me like the event loop it's using is continuously polling. |
Yes, the example is drawing the UI every frame. This is expected. Benchmarking the |
tgotwig
pushed a commit
to tgotwig/iced
that referenced
this issue
Sep 15, 2019
Relates iced-rs#7 Runnable by `cargo bench`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
As mentioned in #4, in order to avoid performance regressions, it would be great to run some benchmarks on the different parts of the API.
The most expensive operation is clearly
UserInterface::build
. This will be the main focus for many of the optimizations we will implement in the future. We should benchmark this first.UserInterface::update
andUserInterface::draw
will also get slower the more widgets and events a user interface has to handle. It would be great to have some numbers!The text was updated successfully, but these errors were encountered: