mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 08:08:13 +08:00
Add a profiling action to CI which comments on PRs with notable demo art performance variances (#1925)
* Add profile run to ci * Remove cargo add * Rename more main to master * Don't run on master before the pr has been merged * Fix pr comment step * Fix comment v2 * Fix v3 * Fix missing features * Fix string interpolation * Only post comment on performance diff * Fix benchmark runner * Try adding escaping * Remove escaped quotes * Use proper master baseline * Use proper master baseline * Fix rebase regression * Remove unused dependency
This commit is contained in:
@@ -11,6 +11,8 @@ dealloc_nodes = []
|
||||
wgpu = []
|
||||
tokio = ["dep:tokio"]
|
||||
wayland = []
|
||||
criterion = []
|
||||
iai = []
|
||||
|
||||
[dependencies]
|
||||
# Local dependencies
|
||||
@@ -39,24 +41,27 @@ wgpu-executor = { workspace = true }
|
||||
serde = { workspace = true, optional = true }
|
||||
tokio = { workspace = true, optional = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
# Workspace dependencies
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
web-sys = { workspace = true }
|
||||
js-sys = { workspace = true }
|
||||
wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
# Workspace dependencies
|
||||
winit = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { version = "0.5", features = ["html_reports"] }
|
||||
glob = "0.3"
|
||||
pprof = { version = "0.13", features = ["flamegraph"] }
|
||||
# Workspace dependencies
|
||||
serde_json = { workspace = true }
|
||||
graph-craft = { workspace = true, features = ["serde"] }
|
||||
|
||||
# Required dependencies
|
||||
criterion = { version = "0.5", features = ["html_reports"]}
|
||||
glob = "0.3"
|
||||
iai-callgrind = { version = "0.12.3"}
|
||||
|
||||
# Benchmarks
|
||||
[[bench]]
|
||||
name = "compile_demo_art"
|
||||
harness = false
|
||||
|
||||
Reference in New Issue
Block a user