izuzak/benchtable

Right align ops/sec values

make-github-pseudonymous-again opened this issue · 1 comments

For a better user experience the ops/sec values could be right aligned (optional?). I am of the opinion that units should be shifted all the way to the right, and numbers too, but they should also be centered on the fixed point of the notation. Illustration:

|       1,234    ops/sec |
|           0.14 ops/sec |
|          10.1  ops/sec |
|           4.21 ops/sec |

That's a neat idea, @make-github-pseudonymous-again -- thanks for suggesting it! 🙇 I probably won't have time to work on such a feature in the near future, so if you'd like -- please feel free to hack on it yourself and open a pull request.