jzillmann/jmh-visualizer

Shorten axis ticks if applicable

Closed this issue · 1 comments

This is coming from jzillmann/gradle-jmh-report#2.

If the scores are very large numbers like in computebenchmarkv2

Then we could shorten the x-axis ticks with a magnitude label, e.g. 35M, 70M, ...

For single run x-axis and multi-run y-axis the ticks are now displayed more human friendly:

  • 10000 => 10k
  • 1000000 => 1M
  • etc..