Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Make the pretty_print output a bit wider. #1

merged 1 commit into from Jul 24, 2012


None yet
2 participants

mblair commented Jul 23, 2012

I've got some very small things to measure that may become large. We're talking numbers like so:

ruby 1.9.3: avg: 4.609999999999991e-05 stddev: 0.0002573576440616381

This makes the pretty printer actually pretty for my numbers. Let me know if it's too wide!


jordansissel commented Jul 24, 2012

looks fine to me!

Longer term, could be nice to make this a bit smarter, like instead of sayin "4.60999e-05" say, like, 4.609ms - something like that. Pick a friendly unit for all time displays based on the scale of the run..

@jordansissel jordansissel added a commit that referenced this pull request Jul 24, 2012

@jordansissel jordansissel Merge pull request #1 from mblair/master
Make the pretty_print output a bit wider.

@jordansissel jordansissel merged commit dd290dd into jordansissel:master Jul 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment