pytest-benchmark icon indicating copy to clipboard operation
pytest-benchmark copied to clipboard

Output doesn't fit in terminal

Open nzjrs opened this issue 8 years ago • 6 comments

Since I upgraded to the latest beta, the pytest results now no longer fit in the terminal. The iterations column wraps around

nzjrs avatar Oct 28 '15 12:10 nzjrs

Yeah ... it's a known issue. There are some plans to allow customizing the report in a 3.1.0 release (so it's more brief of whatever you like)

ionelmc avatar Oct 28 '15 13:10 ionelmc

I'm afraid you'll have to use smaller fonts till 3.1 😳

ionelmc avatar Oct 28 '15 13:10 ionelmc

OK, so I guess I roll back to 2.X then. This is quite a usability regression :-(

nzjrs avatar Oct 28 '15 13:10 nzjrs

Is this still going to be fixed? I've just started using pytest-benchmark and I'm impressed so far, but it's pretty hard to read the results.

mje-nz avatar Nov 14 '17 22:11 mje-nz

Quick workaround: use --benchmark-columns=min,max,mean,stddev,median.

ionelmc avatar Nov 14 '17 22:11 ionelmc

Great, thanks!

P.S. The documentation for --benchmark-columns has the default columns as 'min, max, mean, stddev, median, iqr, outliers, rounds, iterations' when it should be 'min, max, mean, stddev, median, iqr, outliers, ops, rounds, iterations'.

mje-nz avatar Nov 14 '17 23:11 mje-nz