Files
ljwx-health/performance-test/results/monthly-data-dashboard/content/css/dashboard.css
T
BrunoGaoandClaude e57dc7d4ac feat: 完善性能测试套件 - 添加月度数据和数据库压力测试
## 新增功能
- **月度健康数据测试脚本** (`health-monthly-data-test.jmx`)
  - 模拟真实用户过去30天健康数据场景
  - 支持日常数据批量导入测试 (50并发用户,10分钟)
  - 高频数据流测试 (100并发用户,30分钟)
  - 历史数据大批量导入测试 (20并发用户,200循环)

- **数据库压力测试脚本** (`database-stress-test.jmx`)
  - 数据库连接池压力测试 (800并发用户,15分钟)
  - 极限并发测试 (1500并发用户,20分钟)
  - 事务完整性压力测试 (300并发用户,200循环)

## 测试结果
- **月度数据测试**: 10.9 TPS, 0% 错误率, 平均响应时间 3.9ms
- **数据库压力测试**: 2400+ TPS, 0% 错误率, 系统稳定运行

## 技术特性
- 动态数据生成 (心率、血氧、体温、步数等)
- 真实时间戳模拟 (过去1-3个月历史数据)
- 复杂JSON数据结构 (睡眠、运动、锻炼数据)
- 并发用户渐进式增加策略
- 完整的性能监控和报告生成

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-23 22:51:25 +08:00

49 lines
1.1 KiB
CSS

/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#stats td, th
{
width: 9%;//140px;
height: 30px;
}
#stats td
{
text-align: center;
}
#stats th
{
font-weight:bold;
}
.blue
{
background-color: #dff0d8;
}
#errors td, th
{
text-align: center;
width: 400px;
height: 30px;
}
#errors td
{
}
#errors th
{
font-weight:bold;
}