diff --git a/benchmarking/src/benchmarks/BenchmarkSuite.js b/benchmarking/src/benchmarks/BenchmarkSuite.js index f0487d7..0f27f96 100644 --- a/benchmarking/src/benchmarks/BenchmarkSuite.js +++ b/benchmarking/src/benchmarks/BenchmarkSuite.js @@ -33,6 +33,7 @@ export class BenchmarkSuite { } async run() { + this.onChange() while (this.state === 'running' && this.cases.hasNext()) { await this.measureNext() this.onChange() diff --git a/benchmarking/src/components/chart.js b/benchmarking/src/components/chart.js index f792276..d74f6ac 100644 --- a/benchmarking/src/components/chart.js +++ b/benchmarking/src/components/chart.js @@ -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 ( diff --git a/benchmarking/src/components/form.js b/benchmarking/src/components/form.js index 280a142..1f15b94 100644 --- a/benchmarking/src/components/form.js +++ b/benchmarking/src/components/form.js @@ -151,7 +151,7 @@ export class Form extends Component { BenchmarkJS (slow - statistically significant) {this.state.benchMethod === 'iteration' && (