Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up output #2

Open
michaelherold opened this issue Jun 10, 2016 · 0 comments
Open

Clean up output #2

michaelherold opened this issue Jun 10, 2016 · 0 comments

Comments

@michaelherold
Copy link
Owner

Currently, the output looks a little wonky because we're showing object counts and string counts as floating point numbers so they are always displayed with three zeros after the decimal point. I originally thought it would be nice to keep the same output as benchmark-ips so I went with it.

After further reflection, I think we should come up with our own display. I like the collapse of large memory values into larger units so I think that should stay ... but we should truncate any .000 measurements when the allocations are small enough to be reported in bytes.

The trick here will be making the display of mixed units look nice. I'd also ideally like to keep the report at or around 49 characters, but I'm willing to relax that to 79 characters if need be.

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

No branches or pull requests

1 participant