Add a simple wgpu benchmark using criterion

This commit is contained in:
Héctor Ramón Jiménez 2024-04-07 08:11:42 +02:00
parent 63042354fc
commit a865b38002
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 194 additions and 0 deletions

View file

@ -164,3 +164,12 @@ wgpu = "0.19"
winapi = "0.3"
window_clipboard = "0.4.1"
winit = { git = "https://github.com/iced-rs/winit.git", rev = "592bd152f6d5786fae7d918532d7db752c0d164f" }
[dev-dependencies]
criterion = "0.5"
iced_wgpu.workspace = true
[[bench]]
name = "wgpu"
harness = false
required-features = ["canvas"]