Add dataset to legend

This commit is contained in:
Alfred Melch 2019-08-06 18:00:31 +02:00
parent 4d29b6914e
commit bb752ba170
3 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,7 @@ export class BenchmarkSuite {
}
async run() {
this.onChange()
while (this.state === 'running' && this.cases.hasNext()) {
await this.measureNext()
this.onChange()

View File

@ -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 (

View File

@ -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' && (