-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: datasets info
/ key-value-stores info
#726
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't reviewed the code, but I have validated it from the product perspective and it seems all OK and pretty cool! Thank you!
@@ -16,7 +16,7 @@ export function prettyPrintBytes({ | |||
return `${(0).toPrecision(precision)} Byte`; | |||
} | |||
|
|||
const i = Math.floor(Math.log(bytes) / Math.log(1024)); | |||
const i = Math.floor(Math.log(bytes) / Math.log(1000)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasnt it correct before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns out no, the console does / 1000
more often than / 1024
(except i think in some very specific edge cases / pages, I need to re-check their source code some other time)
Datasets
Key value stores