in source/console/src/Components/History/History.js [9:56]
render() {
const history = this.props.data.history || [];
return (
<div>
<div className="box">
<h2>历史结果</h2>
<Table borderless responsive>
<thead>
<tr>
<th>每秒请求数量</th>
<th>执行时间</th>
<th>平均响应时间</th>
<th>平均时延</th>
<th>平均连接时间</th>
<th>100%</th>
<th>99.9%</th>
<th>99.0%</th>
<th>95%</th>
<th>90%</th>
<th>50%</th>
<th>0%</th>
</tr>
</thead>
<tbody>
{
history.map (i => (
<tr key= { i.id }>
<td>{ i.results.testDuration > 0 ? Math.round(i.results.throughput * 100 / i.results.testDuration) / 100 : '-' }</td>
<td>{ i.endTime }</td>
<td>{ i.results.avg_rt }</td>
<td>{ i.results.avg_lt }</td>
<td>{ i.results.avg_ct }</td>
<td>{ i.results.p100_0 }</td>
<td>{ i.results.p99_9 }</td>
<td>{ i.results.p99_0 }</td>
<td>{ i.results.p95_0 }</td>
<td>{ i.results.p90_0 }</td>
<td>{ i.results.p50_0 }</td>
<td>{ i.results.p0_0 }</td>
</tr>
))
}
</tbody>
</Table>
</div>
</div>
)
}