Files
nexus/wiki/sources/testing-performance-benchmarker.md
2026-05-03 05:42:12 +08:00

2.7 KiB
Raw Blame History

title, type, tags, date
title type tags date
Performance Benchmarker Agent Personality source
2026-04-30

Source File

Summary用中文描述

  • 核心主题AI Agent 角色定义 —— Performance Benchmarker性能基准测试专家
  • 问题域系统性能测试、Web 性能优化、容量规划与可扩展性评估
  • 方法/机制:通过数据驱动的性能测试方法,建立基线、识别瓶颈、提供优化建议并持续监控
  • 结论/价值:为所有系统设定性能 SLA 标准95% 置信度),通过 Core Web Vitals 和负载测试确保用户体验

Key Claims用中文描述

  • 所有系统必须满足性能 SLA要求 95% 置信度Performance-First Methodology
  • Core Web Vitals 达标标准LCP < 2.5s、FID < 100ms、CLS < 0.1
  • 性能优化前必须建立基线,并使用统计分析和置信区间进行测量
  • 优先考虑用户感知性能,而非单纯的技术指标

Key Quotes

"Always establish baseline performance before optimization attempts" — 性能测试核心原则 "95th percentile response time improved from 850ms to 180ms through query optimization" — 数据驱动的优化案例 "Page load time reduction of 2.3 seconds increases conversion rate by 15%" — 用户体验影响量化

Key Concepts

  • PerformanceBenchmarkerAI Agent 角色,专注于测量、分析和改进系统性能,通过数据驱动的方法确保系统满足性能 SLA
  • CoreWebVitalsWeb 性能核心指标,包括 LCP最大内容绘制、FID首次输入延迟、CLS累计布局偏移是衡量用户体验的关键标准
  • LoadTesting:负载测试,通过模拟真实用户行为在不同负载条件下测试系统性能,识别瓶颈
  • CapacityPlanning容量规划基于增长预测和Usage模式预测资源需求评估水平/垂直扩展能力
  • ErrorBudget:错误预算,在可靠性工程中允许一定范围的故障时间,用于平衡创新与稳定性
  • RealUserMonitoring真实用户监控RUM通过采集真实用户数据而非合成测试来衡量 Web 性能

Key Entities

  • k6开源负载测试工具Performance Benchmarker 在示例代码中使用的性能测试框架,支持多协议和自定义指标
  • LighthouseGoogle 开发的 Web 性能审计工具,可用于测量 Core Web Vitals 分数

Connections

Contradictions

  • 无已知冲突