Skip to content

Benchmark Charts Note

303248153 edited this page Jan 22, 2020 · 1 revision

Benchmark charts are generated from g2plot:

Chart for throughput

https://g2plot.antv.vision/en/examples/bar/group

const barPlot = new GroupBar(document.getElementById('container'), {
  title: { visible: true, text: "Requests/sec" },
  forceFit: true,
  data,
  xField: 'result',
  yField: 'name',
  xAxis:{ visible: true, autoRotateLabel: true },
  yAxis: { min: 0 },
  label: { visible: true },
  groupField: 'target',
});

barPlot.render();

Chart for latency

https://g2plot.antv.vision/en/examples/bar/group

const barPlot = new GroupBar(document.getElementById('container'), {
  title: { visible: true, text: "99% Latency" },
  forceFit: true,
  data,
  xField: 'result',
  yField: 'name',
  xAxis:{ visible: true, autoRotateLabel: true },
  yAxis: { min: 0 },
  label: { visible: true },
  groupField: 'target',
});

barPlot.render();
Clone this wiki locally