mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 23:57:26 +00:00
![]() This removes a lot of temporary allocations, note e.g. how this was called once per component previously yet the data contained in the map was always the same! Before: ``` Benchmark 1: ./target/release/slint-viewer ../slint-perf/app.slint Time (mean ± σ): 636.2 ms ± 20.0 ms [User: 563.4 ms, System: 71.8 ms] Range (min … max): 615.2 ms … 657.9 ms 10 runs allocations: 3371939 ``` After: ``` Benchmark 1: ./target/release/slint-viewer ../slint-perf/app.slint Time (mean ± σ): 600.6 ms ± 2.9 ms [User: 522.0 ms, System: 74.4 ms] Range (min … max): 596.3 ms … 605.2 ms 10 runs allocations: 2917930 ``` |
||
---|---|---|
.. | ||
LICENSES | ||
api.rs | ||
Cargo.toml | ||
dynamic_item_tree.rs | ||
dynamic_type.rs | ||
eval.rs | ||
eval_layout.rs | ||
ffi.rs | ||
global_component.rs | ||
highlight.rs | ||
lib.rs | ||
migration.rs | ||
tests.rs | ||
value_model.rs |