1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

Faster dashed line generation (#1027)

* Faster dashed lines generation

* Add dashed_line benchmark
This commit is contained in:
Lampsitter
2022-01-06 10:44:53 +01:00
committed by GitHub
parent 79cfdaa1f9
commit d31f7d6522
5 changed files with 71 additions and 7 deletions

View File

@@ -63,3 +63,10 @@ single_threaded = ["atomic_refcell"]
# Only needed if you plan to use the same fonts from multiple threads.
# It comes with a minor performance impact.
multi_threaded = ["parking_lot"]
[dev-dependencies]
criterion = { version = "0.3", default-features = false }
[[bench]]
name = "benchmark"
harness = false