Bodigrim / tasty-bench

Featherlight benchmark framework, drop-in replacement for criterion and gauge.
https://hackage.haskell.org/package/tasty-bench
MIT License
80 stars 11 forks source link

Font color might be indistinguishable from terminal foreground color #13

Closed 0xd34df00d closed 3 years ago

0xd34df00d commented 3 years ago

I'll just paste two screenshots. My default terminal theme: vs a dark one:

I don't think this is a problem with the color scheme, as I don't remember other cli/tui applications having this issue. On the bright side, this is a weirdest bug I've come across for a while (I was puzzled for about half an hour where did the measurements go!) which gave me a sensible chuckle after understanding the problem.

Bodigrim commented 3 years ago

tasty-bench does not color the output itself, this is up to tasty. Do you observe the same issue with bytestring tests? (I'm AFK, but I suppose QuickCheck properties report the number of tests in the same way)

0xd34df00d commented 3 years ago

Yep, tests have the same problem (I just never cared about the specific number of tests to notice that). I guess I'll reopen this upstream.

0xd34df00d commented 3 years ago

Alrighty, opened upstream as https://github.com/UnkindPartition/tasty/issues/298 , so closing this one.