mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 07:10:04 -04:00
Use mimalloc for benchmarks (#7029)
`mimalloc` is a _much_ faster allocator, especially important when doing a lot of small allocations (which egui does). We use `mimalloc` in Rerun, and I recommend everyone to use it. ## The difference it makes 
This commit is contained in:
@@ -56,8 +56,9 @@ serde = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion.workspace = true
|
||||
egui_kittest = { workspace = true, features = ["wgpu", "snapshot"] }
|
||||
egui = { workspace = true, features = ["default_fonts"] }
|
||||
egui_kittest = { workspace = true, features = ["wgpu", "snapshot"] }
|
||||
mimalloc.workspace = true # for benchmarks
|
||||
rand = "0.9"
|
||||
|
||||
[[bench]]
|
||||
|
||||
Reference in New Issue
Block a user