Skip to content

Commit 4e41bca

Browse files
committed
Temp criterion commit
1 parent 20db6bc commit 4e41bca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ image = { workspace = true }
6868
im = { workspace = true }
6969
wgpu = { workspace = true }
7070

71+
[dev-dependencies]
72+
criterion = "0.5"
73+
7174
[features]
7275
default = ["editor", "default-image-formats"]
7376
# TODO: this is only winit and the editor serde, there are other dependencies that still depend on
@@ -99,3 +102,10 @@ tokio = ["dep:tokio"]
99102
# rfd (file dialog) async runtime
100103
rfd-async-std = ["dep:rfd", "rfd/async-std"]
101104
rfd-tokio = ["dep:rfd", "rfd/tokio"]
105+
106+
[profile.bench]
107+
debug = true
108+
109+
[[bench]]
110+
name = "basic_editing"
111+
harness = false

0 commit comments

Comments
 (0)