mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-14 21:20:48 +08:00
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.
11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
import { defineConfig, mergeConfig } from 'vite'
|
|
|
|
import base from '../../vite.config.mts'
|
|
export default mergeConfig(
|
|
base,
|
|
defineConfig({
|
|
root: 'scripts/perf',
|
|
build: { outDir: '../../target/perf/dist', target: 'safari16' },
|
|
}),
|
|
)
|