iced-rs/iced

Perform benchmarks

Open

#7 opened on Sep 5, 2019

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Rust (30,491 stars) (1,572 forks)batch import
help wantedimprovementperformance

Description

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 and UserInterface::draw will also get slower the more widgets and events a user interface has to handle. It would be great to have some numbers!

Contributor guide