BenchmarkTools.jl
BenchmarkTools.jl copied to clipboard
Miss-aligned text (likely issue with unicode?)
See the discussion here https://discourse.julialang.org/t/use-juliamono-to-fix-misaligned-benchmarktools-histograms/65054
Is this still an issue? Looks like it may have been solved.
Probably depends on what Font your browser defaults to, since for me https://github.com/JuliaCI/BenchmarkTools.jl/pull/243#discussion_r688361580 is misaligned.
Still an issue the text example in #260 looks like:

On Firefox+Linux (and also Slack I think)
So it looks like the blocks for the histogram aren't printing the same width as the ordinary space.
Could try printing blocks set to the same colour as the background instead of spaces? But that's unlikely to work well with different colour schemes, nor with copying plain text.
Is there a unicode space which might somehow be interpreted as having the same width? In https://en.wikipedia.org/wiki/Block_Elements there is no empty block.
Having looked a bit around Unicode before, IIRC the character we're looking for simply does not exist. This isn't a nice answer, but unfortunately, I don't think there is one here.