122 lines
8.0 KiB
HTML
122 lines
8.0 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>LLM API 基准测试报告</title>
|
|
<script src="https://go-echarts.github.io/go-echarts-assets/assets/echarts.min.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<style> .container {display: flex;justify-content: center;align-items: center;} .item {margin: auto;} </style>
|
|
<div class="container">
|
|
<div class="item" id="QgXFsvqLAWSC" style="width:900px;height:500px;"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
let goecharts_QgXFsvqLAWSC = echarts.init(document.getElementById('QgXFsvqLAWSC'), "white");
|
|
let option_QgXFsvqLAWSC = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"指标","type":"bar","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"value":3},{"value":3},{"value":0},{"value":166},{"value":185},{"value":185},{"value":185},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0.04323371476620453},{"value":214270.40925648165}]}],"title":{"text":"性能概览"},"tooltip":{"show":false},"xAxis":[{"data":["总请求数","成功请求数","失败请求数","平均响应时间(ms)","P90响应时间(ms)","P95响应时间(ms)","P99响应时间(ms)","最小TTFT(ms)","最大TTFT(ms)","P90 TTFT(ms)","P95 TTFT(ms)","P99 TTFT(ms)","平均QPS","最大QPS"]}],"yAxis":[{}]}
|
|
;
|
|
|
|
let action_QgXFsvqLAWSC = {"areas":{},"type":""}
|
|
;
|
|
|
|
goecharts_QgXFsvqLAWSC.setOption(option_QgXFsvqLAWSC);
|
|
goecharts_QgXFsvqLAWSC.dispatchAction(action_QgXFsvqLAWSC);
|
|
</script>
|
|
|
|
<div class="container">
|
|
<div class="item" id="PdKLjsCLIHFJ" style="width:900px;height:500px;"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
let goecharts_PdKLjsCLIHFJ = echarts.init(document.getElementById('PdKLjsCLIHFJ'), "white");
|
|
let option_PdKLjsCLIHFJ = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"请求数","type":"bar","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"value":0},{"value":2},{"value":1},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}]}],"title":{"text":"响应时间分布"},"tooltip":{"show":false},"xAxis":[{"data":["≤100ms","100-200ms","200-500ms","500-1000ms","1000-2000ms","2000-5000ms","5000-10000ms",">10000ms"]}],"yAxis":[{}]}
|
|
;
|
|
|
|
let action_PdKLjsCLIHFJ = {"areas":{},"type":""}
|
|
;
|
|
|
|
goecharts_PdKLjsCLIHFJ.setOption(option_PdKLjsCLIHFJ);
|
|
goecharts_PdKLjsCLIHFJ.dispatchAction(action_PdKLjsCLIHFJ);
|
|
</script>
|
|
|
|
<div class="container">
|
|
<div class="item" id="vyzyNcVQQtMQ" style="width:900px;height:500px;"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
let goecharts_vyzyNcVQQtMQ = echarts.init(document.getElementById('vyzyNcVQQtMQ'), "white");
|
|
let option_vyzyNcVQQtMQ = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"并发 1","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":0.2,"XAxisIndex":0,"YAxisIndex":0}]},{"name":"并发 2","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":0.4,"XAxisIndex":0,"YAxisIndex":0}]}],"title":{"text":"QPS随时间变化"},"tooltip":{"show":false},"xAxis":[{"data":["15:03:34"]}],"yAxis":[{}]}
|
|
;
|
|
|
|
let action_vyzyNcVQQtMQ = {"areas":{},"type":""}
|
|
;
|
|
|
|
goecharts_vyzyNcVQQtMQ.setOption(option_vyzyNcVQQtMQ);
|
|
goecharts_vyzyNcVQQtMQ.dispatchAction(action_vyzyNcVQQtMQ);
|
|
</script>
|
|
|
|
<div class="container">
|
|
<div class="item" id="xREMObByzgZc" style="width:900px;height:500px;"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
let goecharts_xREMObByzgZc = echarts.init(document.getElementById('xREMObByzgZc'), "white");
|
|
let option_xREMObByzgZc = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"并发 1","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":28,"XAxisIndex":0,"YAxisIndex":0}]},{"name":"并发 2","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":279,"XAxisIndex":0,"YAxisIndex":0}]}],"title":{"text":"Token生成速率随时间变化"},"tooltip":{"show":false},"xAxis":[{"data":["15:03:34"]}],"yAxis":[{}]}
|
|
;
|
|
|
|
let action_xREMObByzgZc = {"areas":{},"type":""}
|
|
;
|
|
|
|
goecharts_xREMObByzgZc.setOption(option_xREMObByzgZc);
|
|
goecharts_xREMObByzgZc.dispatchAction(action_xREMObByzgZc);
|
|
</script>
|
|
|
|
<div class="container">
|
|
<div class="item" id="NQqeQSCEludq" style="width:900px;height:500px;"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
let goecharts_NQqeQSCEludq = echarts.init(document.getElementById('NQqeQSCEludq'), "white");
|
|
let option_NQqeQSCEludq = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"平均响应时间 (ms)","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":156,"XAxisIndex":0,"YAxisIndex":0},{"value":171,"XAxisIndex":0,"YAxisIndex":0}]},{"name":"P90响应时间 (ms)","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":156,"XAxisIndex":0,"YAxisIndex":0},{"value":171,"XAxisIndex":0,"YAxisIndex":0}]},{"name":"P95响应时间 (ms)","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":156,"XAxisIndex":0,"YAxisIndex":0},{"value":171,"XAxisIndex":0,"YAxisIndex":0}]}],"title":{"text":"并发与响应时间关系"},"tooltip":{"show":false},"xAxis":[{"data":["1","2"]}],"yAxis":[{}]}
|
|
;
|
|
|
|
let action_NQqeQSCEludq = {"areas":{},"type":""}
|
|
;
|
|
|
|
goecharts_NQqeQSCEludq.setOption(option_NQqeQSCEludq);
|
|
goecharts_NQqeQSCEludq.dispatchAction(action_NQqeQSCEludq);
|
|
</script>
|
|
|
|
<div class="container">
|
|
<div class="item" id="JdiBDXtvAWJa" style="width:900px;height:500px;"></div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
let goecharts_JdiBDXtvAWJa = echarts.init(document.getElementById('JdiBDXtvAWJa'), "white");
|
|
let option_JdiBDXtvAWJa = {"animation":true,"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":true,"type":""},"series":[{"name":"并发 1","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":0,"XAxisIndex":0,"YAxisIndex":0}]},{"name":"并发 2","type":"line","smooth":false,"connectNulls":false,"showSymbol":false,"waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":true,"data":[{"value":0,"XAxisIndex":0,"YAxisIndex":0}]}],"title":{"text":"TTFT随时间变化"},"tooltip":{"show":false},"xAxis":[{"data":["15:03:34"]}],"yAxis":[{}]}
|
|
;
|
|
|
|
let action_JdiBDXtvAWJa = {"areas":{},"type":""}
|
|
;
|
|
|
|
goecharts_JdiBDXtvAWJa.setOption(option_JdiBDXtvAWJa);
|
|
goecharts_JdiBDXtvAWJa.dispatchAction(action_JdiBDXtvAWJa);
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|