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

Fix printing of Size/request #447

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

kyrias
Copy link
Contributor

@kyrias kyrias commented Apr 2, 2024

Previously we formatted the calculated value to a string and then accidentally truncated it to only two characters long in an attempt to support printing NaN in case calculating the value failed.

Before
Summary:
…

  Total data:	22.32 MiB
  Size/request:	2.
  Size/sec:	2.23 MiB
After
Summary:
…

  Total data:	22.36 MiB
  Size/request:	2.70 KiB
  Size/sec:	2.23 MiB

Previously we formatted the calculated value to a string and then
accidentally truncated it to only two characters long in an attempt to
support printing NaN in case calculating the value failed.

Signed-off-by: Johannes Löthberg <johannes.loethberg@elokon.com>
@hatoo hatoo merged commit d617411 into hatoo:master Apr 2, 2024
11 checks passed
@hatoo
Copy link
Owner

hatoo commented Apr 2, 2024

Nice catch! Thank you.

@kyrias kyrias deleted the fix-size-per-request-printing branch April 5, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants