am-freescan/docs/performance-baseline-20261028.json

132 lines
3.2 KiB
JSON
Raw Normal View History

{
"date": "2026-10-28",
"environment": "本机 Windows;localhost;现有开发服务 Vite 5180 和后端 48090;浏览器已有缓存与登录状态",
"method": "浏览器从创建标签至指定可见内容的墙钟时间,包含自动化等待开销;非 FCP/LCP,未清缓存;每页样本数较少",
"pages": [
{
"name": "首页",
"target": "执行动态标题可见(不代表数据和图表全部加载完成)",
"ms": [1333, 1018, 992]
},
{
"name": "夹具管理",
"target": "大型支架夹具可见",
"ms": [
1159,
1054
]
},
{
"name": "扫描任务工作台",
"target": "样件 1 可见",
"ms": [
1139,
1112
]
},
{
"name": "流程编排",
"target": "组件库可见(不代表完整画布已渲染)",
"ms": [
986
]
},
{
"name": "夹具管理重复刷新",
"target": "夹具编号可见",
"ms": [
769,
699,
660
]
}
],
"api": {
"requestsPerRoute": 20,
"concurrency": 4,
"success": 120,
"total": 120,
"unit": "ms",
"routes": [
{
"name": "租户查询",
"median": 20,
"p95": 32.1,
"max": 35.9
},
{
"name": "夹具分页",
"median": 75.4,
"p95": 92.5,
"max": 94.3
},
{
"name": "扫描任务分页",
"median": 133.15,
"p95": 294.6,
"max": 297.6
},
{
"name": "流程详情",
"median": 42.55,
"p95": 61.6,
"max": 65
},
{
"name": "扫描任务详情",
"median": 101.35,
"p95": 117.7,
"max": 122
},
{
"name": "夹具框架点信息",
"median": 36.3,
"p95": 52.1,
"max": 53.5
}
]
},
"model": {
"environment": "Node worker threads,合成二进制 PLY,不是浏览器帧率",
"points": 1000000,
"sourceMB": 15,
"workerParseMs": 219.6,
"totalMs": 257.5,
"maximumMainLoopGapMs": 18.7,
"displayedPoints": 500000,
"synchronousMs": 176.2,
"synchronousMaximumLoopGapMs": 176.5
},
"bundle": {
"environment": "现有 production 构建目录;压缩大小是本地 gzip 估算,不代表全部资源会进入首屏",
"assetCount": 2918,
"totalMB": 41.5,
"large": [
{
"name": "ts.worker",
"rawMB": 6.58,
"gzipMB": 1.41
},
{
"name": "editor.api2",
"rawMB": 3.46,
"gzipMB": 0.87
},
{
"name": "index",
"rawMB": 2.4,
"gzipMB": 0.73
}
]
},
"processMemorySnapshot": { "backendJavaWorkingSetMB": 1188.2, "viteNodeWorkingSetMB": 457.9, "note": "单次工作集快照,非峰值或持续稳定性数据" },
"limitations": [
"未测量浏览器 FCP/LCP;无法从当前浏览器接口读取 Performance API",
"未清除浏览器缓存或复测生产部署的首屏",
"未运行高并发、长时间稳定性或大数据量压测",
"未在实际采集期间测试帧率、端到端延迟和硬件资源占用",
"本次样本数据规模较小,不能据此推断容量上限"
],
"businessDataCreated": 0
}