初始化
Some checks failed
CI/CD Pipeline / 测试 (18.x) (push) Has been cancelled
CI/CD Pipeline / 测试 (20.x) (push) Has been cancelled
CI/CD Pipeline / 安全检查 (push) Has been cancelled
CI/CD Pipeline / 部署 (push) Has been cancelled
CI/CD Pipeline / 通知 (push) Has been cancelled

This commit is contained in:
2025-11-03 19:47:36 +08:00
parent 7a04b85667
commit f25b0307db
454 changed files with 37064 additions and 4544 deletions

View File

@@ -51,19 +51,19 @@ namespace HardwarePerformance.Infrastructure.Data
{
Name = "Geekbench",
Description = "跨平台处理器和内存性能测试工具",
ApiUrl = "https://browser.geekbench.com/"
Url = "https://browser.geekbench.com/"
},
new DataSource
{
Name = "3DMark",
Description = "游戏和图形性能基准测试工具",
ApiUrl = "https://www.3dmark.com/"
Url = "https://www.3dmark.com/"
},
new DataSource
{
Name = "AnTuTu",
Description = "移动设备综合性能测试平台",
ApiUrl = "https://www.antutu.com/"
Url = "https://www.antutu.com/"
}
};
@@ -126,7 +126,7 @@ namespace HardwarePerformance.Infrastructure.Data
performanceScores.Add(new PerformanceScore
{
ProductId = cpu.Id,
BenchmarkType = "Single-Core",
TestName = "Single-Core",
Score = cpu.Name.Contains("A17") ? 2950 : cpu.Name.Contains("Snapdragon") ? 2300 : 2200,
TestDate = DateTime.Now,
DataSourceId = geekbenchSource.Id
@@ -135,7 +135,7 @@ namespace HardwarePerformance.Infrastructure.Data
performanceScores.Add(new PerformanceScore
{
ProductId = cpu.Id,
BenchmarkType = "Multi-Core",
TestName = "Multi-Core",
Score = cpu.Name.Contains("A17") ? 7200 : cpu.Name.Contains("Snapdragon") ? 7400 : 7500,
TestDate = DateTime.Now,
DataSourceId = geekbenchSource.Id
@@ -154,14 +154,14 @@ namespace HardwarePerformance.Infrastructure.Data
specifications.Add(new Specification
{
ProductId = cpu.Id,
Key = "制程工艺",
Name = "制程工艺",
Value = "3nm",
Unit = "nm"
});
specifications.Add(new Specification
{
ProductId = cpu.Id,
Key = "核心数",
Name = "核心数",
Value = "6",
Unit = "核"
});
@@ -171,14 +171,14 @@ namespace HardwarePerformance.Infrastructure.Data
specifications.Add(new Specification
{
ProductId = cpu.Id,
Key = "制程工艺",
Name = "制程工艺",
Value = "4nm",
Unit = "nm"
});
specifications.Add(new Specification
{
ProductId = cpu.Id,
Key = "核心数",
Name = "核心数",
Value = "8",
Unit = "核"
});
@@ -188,14 +188,14 @@ namespace HardwarePerformance.Infrastructure.Data
specifications.Add(new Specification
{
ProductId = cpu.Id,
Key = "制程工艺",
Name = "制程工艺",
Value = "4nm",
Unit = "nm"
});
specifications.Add(new Specification
{
ProductId = cpu.Id,
Key = "核心数",
Name = "核心数",
Value = "8",
Unit = "核"
});
@@ -242,7 +242,7 @@ namespace HardwarePerformance.Infrastructure.Data
performanceScores.Add(new PerformanceScore
{
ProductId = cpu.Id,
BenchmarkType = "Single-Core",
TestName = "Single-Core",
Score = cpu.Name.Contains("Intel") ? 3200 : 2300,
TestDate = DateTime.Now,
DataSourceId = geekbenchSource.Id
@@ -251,7 +251,7 @@ namespace HardwarePerformance.Infrastructure.Data
performanceScores.Add(new PerformanceScore
{
ProductId = cpu.Id,
BenchmarkType = "Multi-Core",
TestName = "Multi-Core",
Score = cpu.Name.Contains("Intel") ? 22000 : 30000,
TestDate = DateTime.Now,
DataSourceId = geekbenchSource.Id