Add dataset to legend
This commit is contained in:
parent
4d29b6914e
commit
bb752ba170
@ -33,6 +33,7 @@ export class BenchmarkSuite {
|
||||
}
|
||||
|
||||
async run() {
|
||||
this.onChange()
|
||||
while (this.state === 'running' && this.cases.hasNext()) {
|
||||
await this.measureNext()
|
||||
this.onChange()
|
||||
|
@ -21,6 +21,7 @@ export class Chart extends React.Component {
|
||||
}))
|
||||
datasets.push({ ...datasetTemplates.numberOfNodes, data: nodeData })
|
||||
let data = { datasets, labels }
|
||||
addLegendEntry(data, `Dataset: ${datasetNames[formState.dataset]}`)
|
||||
addLegendEntry(data, `High quality mode: ${formState.highQual}`)
|
||||
addLegendEntry(data, `Platform: ${platform.description}`)
|
||||
return (
|
||||
|
@ -151,7 +151,7 @@ export class Form extends Component {
|
||||
BenchmarkJS (slow - statistically significant)
|
||||
</option>
|
||||
<option value="opsPerTime">
|
||||
OpsPerTime (slow - low significance)
|
||||
OpsPerTime (fixed time - low significance)
|
||||
</option>
|
||||
</select>
|
||||
{this.state.benchMethod === 'iteration' && (
|
||||
|
Loading…
Reference in New Issue
Block a user