Skip to content

Clean up output #2

@michaelherold

Description

@michaelherold

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions