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

per_sec in 0.17 shows too many digits #312

Closed
mpetri opened this issue Sep 15, 2021 · 3 comments
Closed

per_sec in 0.17 shows too many digits #312

mpetri opened this issue Sep 15, 2021 · 3 comments

Comments

@mpetri
Copy link

mpetri commented Sep 15, 2021

I'm trying the new 0.17 release and I noticed the {per_sec} output now uses f64. However, when trying to use it in a sample program it uses too much precision:

for example: TPS: 199.5687279244087/s

@djc
Copy link
Member

djc commented Sep 15, 2021

That's fair. What do you think about #313 as a fix?

@mpetri
Copy link
Author

mpetri commented Sep 15, 2021

looks good!

@djc djc closed this as completed Sep 15, 2021
@djc
Copy link
Member

djc commented Sep 15, 2021

Thanks for the review!

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

No branches or pull requests

2 participants