mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-18 09:52:13 +08:00
test(perf): add macOS Tauri WebView performance harness
Drive the production home traffic graph through embedded WebDriver in an isolated optimized measurement build. Record attributed WebContent and main process CPU/RSS distributions across foreground, hidden and restored phases. Keep replay, raw reports, independent-run comparison, cleanup checks and focused validation available through project commands. Normal release builds exclude the automation service and measurement entry points.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"identifier": "io.github.clash-verge-rev.perf-harness",
|
||||
"build": {
|
||||
"frontendDist": "../target/perf/dist",
|
||||
"beforeBuildCommand": "",
|
||||
"removeUnusedCommands": false
|
||||
},
|
||||
"bundle": { "active": false, "externalBin": [], "resources": [] },
|
||||
"app": {
|
||||
"security": {
|
||||
"capabilities": [
|
||||
{
|
||||
"identifier": "perf",
|
||||
"windows": ["perf"],
|
||||
"permissions": ["core:default"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user