feat: benchmark form

This commit is contained in:
jialin
2026-01-30 18:48:55 +08:00
parent 37b814b70a
commit fb0e45ebed
10 changed files with 356 additions and 37 deletions
+24
View File
@@ -27,3 +27,27 @@ export const BenchmarkStatus: Record<string, StatusType> = {
[BenchmarkStatusValueMap.Error]: StatusMaps.error,
[BenchmarkStatusValueMap.Unreachable]: StatusMaps.error
};
export const profileOptions = [
{
label: 'benchmark.form.profile.latency',
value: 'latency_short',
locale: true
},
{
label: 'benchmark.form.profile.throughput',
value: 'throughput_medium',
locale: true
},
{
label: 'benchmark.form.profile.longContext',
value: 'long_context_stress',
locale: true
},
{
label: 'benchmark.form.profile.heavy',
value: 'generation_heavy',
locale: true
},
{ label: 'benchmark.form.profile.custom', value: 'custom', locale: true }
];