iced-rs/iced

Perform benchmarks

Open

#7 opened on Sep 5, 2019

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

Repository metrics

Stars
 (30,491 stars)
PR merge metrics
 (Avg merge 24d 11h) (11 merged PRs in 30d)

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